From: Vsevolod Stakhov Date: Fri, 18 May 2018 22:51:01 +0000 (+0100) Subject: [Minor] Change the default alignment to 16 X-Git-Tag: 1.7.6~127 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a661d5e4c0487a6015db7d4fe3ddcf1cf3f99f5f;p=rspamd.git [Minor] Change the default alignment to 16 --- 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))