settings.c
changeset 2450 d7edd1def1e0
parent 2398 912f16512ce2
child 2456 2317dd6f4b19
--- 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) {