diff --git a/src/settings.cpp b/src/settings.cpp --- a/src/settings.cpp +++ b/src/settings.cpp @@ -97,7 +97,7 @@ static void *pool_alloc(SettingsMemoryPo uint pos; SettingsMemoryPool *p = *pool; - size = ALIGN(size, sizeof(void*)); + 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) {