Commit Diff


commit - 35eae7fa6b782ae1d000183ef2efc4383dfec4cd
commit + 7a38b3a33f8b124c9c01da154dfdf711d328b01d
blob - 376ca751ab3e90181519012a124c167c699a1fb9
blob + 453b71cedd7f9b2a173beaa9d2db148724f992e4
--- include/arraylist.h
+++ include/arraylist.h
@@ -65,7 +65,7 @@
 				(ARRAY_LIST).allocated + \
 				((ARRAY_LIST).allocated ? \
 				(ARRAY_LIST).allocated / 2 : \
-				(ARRAY_LIST).alloc_blocksize ?
+				(ARRAY_LIST).alloc_blocksize ? \
 				(ARRAY_LIST).alloc_blocksize : 8), \
 				sizeof(*(ARRAY_LIST).head)); \
 			if ((ARRAY_LIST).p == NULL) { \
@@ -75,7 +75,7 @@
 			(ARRAY_LIST).allocated += \
 				(ARRAY_LIST).allocated ? \
 				(ARRAY_LIST).allocated / 2 : \
-				(ARRAY_LIST).alloc_blocksize ?
+				(ARRAY_LIST).alloc_blocksize ? \
 				(ARRAY_LIST).alloc_blocksize : 8, \
 			(ARRAY_LIST).head = (ARRAY_LIST).p; \
 			(ARRAY_LIST).p = NULL; \