aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-18 23:51:01 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-18 23:51:01 +0100
commita661d5e4c0487a6015db7d4fe3ddcf1cf3f99f5f (patch)
tree1d5753aa772445b6ba3f3d9b945f01f3c44eef6f /src
parent6f80cd3299aac6b1df9aeb5822080ad6574b3f6e (diff)
downloadrspamd-a661d5e4c0487a6015db7d4fe3ddcf1cf3f99f5f.tar.gz
rspamd-a661d5e4c0487a6015db7d4fe3ddcf1cf3f99f5f.zip
[Minor] Change the default alignment to 16
Diffstat (limited to 'src')
-rw-r--r--src/libutil/mem_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/mem_pool.h b/src/libutil/mem_pool.h
index 7423895c4..27d4c8ebf 100644
--- a/src/libutil/mem_pool.h
+++ b/src/libutil/mem_pool.h
@@ -21,7 +21,7 @@ struct f_str_s;
#define MEMPOOL_TAG_LEN 20
#define MEMPOOL_UID_LEN 20
-#define MEM_ALIGNMENT 8
+#define MEM_ALIGNMENT 16
#define align_ptr(p, a) \
(guint8 *) (((uintptr_t) (p) + ((uintptr_t) a - 1)) & ~((uintptr_t) a - 1))