author | tron |
Fri, 23 Sep 2005 14:21:39 +0000 | |
changeset 2450 | 44dc366c480e |
parent 2449 | 29c0920aee6d |
child 2451 | 9b4d7f92e4ea |
settings.c | file | annotate | diff | comparison | revisions |
--- 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) {