Align to 32 byte
This commit is contained in:
parent
9ca68de427
commit
7bcbb86e80
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user