Commit Diff
Diff:
35eae7fa6b782ae1d000183ef2efc4383dfec4cd
7a38b3a33f8b124c9c01da154dfdf711d328b01d
Commit:
7a38b3a33f8b124c9c01da154dfdf711d328b01d
Tree:
895eb69bca28f126d725f6f97e5c0d402bb0ba56
Author:
Mark Jamsek <mark@jamsek.dev>
Date:
Wed Aug 31 23:08:53 2022 UTC
Message:
fix build broken in previous commit 35eae7fa6b782ae1

Macro line was wrapped without continuation character.

ok tb@
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; \
Omar Polo