changeset 2398 | 912f16512ce2 |
parent 2309 | c48687a02a6c |
child 2450 | d7edd1def1e0 |
--- a/settings.c Thu Sep 08 12:33:25 2005 +0000 +++ b/settings.c Thu Sep 08 12:48:26 2005 +0000 @@ -50,7 +50,7 @@ uint pos; SettingsMemoryPool *p = *pool; - size = (size + 3) & ~3; // align everything to a 32 bit boundary + size = ALIGN(size, 4); // align everything to a 32 bit boundary // first check if there's memory in the next pool if (p->next && p->next->pos + size <= p->next->size) {