changeset 2450 | 44dc366c480e |
parent 2398 | 70de6626d65f |
child 2456 | 93041d70867b |
--- a/settings.c Fri Sep 23 12:13:58 2005 +0000 +++ b/settings.c Fri Sep 23 14:21:39 2005 +0000 @@ -50,7 +50,7 @@ uint pos; SettingsMemoryPool *p = *pool; - size = ALIGN(size, 4); // align everything to a 32 bit boundary + size = ALIGN(size, sizeof(void*)); // first check if there's memory in the next pool if (p->next && p->next->pos + size <= p->next->size) {