| author | tron |
| Fri, 23 Sep 2005 14:21:39 +0000 | |
| changeset 2450 | d7edd1def1e0 |
| parent 2449 | bcbfed6d3f58 |
| child 2451 | f7d6ed0f564d |
| 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) {