diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 4c852f1591..61cd501090 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -64,8 +64,7 @@ struct _Eo { (_eo_classes[id - 1]) : NULL; \ }) -#define EO_ALIGN_SIZE(size) \ - ((size) + (sizeof(void *) - ((size) % sizeof(void *)))) +#define EO_ALIGN_SIZE(size) eina_mempool_alignof(size) typedef struct _Dich_Chain1 Dich_Chain1;