summaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-09 12:53:30 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-07-09 12:53:30 +0100
commit5988e42fbf670eae5d3839e517915917d45a7ec2 (patch)
tree76abedf535082aec1687dac4650fb3aac404f90a /src/lua
parent3d3687fa135c49e6ad471c0f071b592988378ad5 (diff)
downloadrspamd-5988e42fbf670eae5d3839e517915917d45a7ec2.tar.gz
rspamd-5988e42fbf670eae5d3839e517915917d45a7ec2.zip
[Minor] Fight lost: alignof -> _Alignof
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_cryptobox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_cryptobox.c b/src/lua/lua_cryptobox.c
index 125cdab8e..35faa0037 100644
--- a/src/lua/lua_cryptobox.c
+++ b/src/lua/lua_cryptobox.c
@@ -990,7 +990,7 @@ rspamd_lua_hash_create (const gchar *type)
}
else if (g_ascii_strcasecmp (type, "blake2") == 0) {
h->type = LUA_CRYPTOBOX_HASH_BLAKE2;
- posix_memalign ((void **)&h->content.h, alignof (rspamd_cryptobox_hash_state_t),
+ posix_memalign ((void **)&h->content.h, _Alignof (rspamd_cryptobox_hash_state_t),
sizeof (*h->content.h));
g_assert (h->content.h != NULL);
rspamd_cryptobox_hash_init (h->content.h, NULL, 0);
@@ -1027,7 +1027,7 @@ rspamd_lua_hash_create (const gchar *type)
}
else {
h->type = LUA_CRYPTOBOX_HASH_BLAKE2;
- posix_memalign ((void **)&h->content.h, alignof (rspamd_cryptobox_hash_state_t),
+ posix_memalign ((void **)&h->content.h, _Alignof (rspamd_cryptobox_hash_state_t),
sizeof (*h->content.h));
g_assert (h->content.h != NULL);
rspamd_cryptobox_hash_init (h->content.h, NULL, 0);