Align to 32 byte

This commit is contained in:
Luke Benstead 2021-04-18 13:57:28 +01:00
parent 9ca68de427
commit 7bcbb86e80

View File

@ -325,7 +325,7 @@ void * yalloc_alloc(void * pool, size_t size)
} }
/* round up to alignment */ /* round up to alignment */
size = ALIGN(size, 64); size = ALIGN(size, 32);
size_t bruttoSize = size + sizeof(Header); size_t bruttoSize = size + sizeof(Header);
Header * prev = NULL; Header * prev = NULL;