From a661d5e4c0487a6015db7d4fe3ddcf1cf3f99f5f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 18 May 2018 23:51:01 +0100 Subject: [PATCH] [Minor] Change the default alignment to 16 --- src/libutil/mem_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5