summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-28 21:46:07 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-28 21:46:07 -0500
commit86c6df0d4a39febf66ef910a2e995aff6efe2f53 (patch)
tree35c9b67334c6cb607ad05b9335c185257e6070f4 /src
parent08d8fd2767733d893380ebf5c8a4743dd371528d (diff)
fix macro
Diffstat (limited to 'src')
-rw-r--r--src/assert/assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assert/assert.c b/src/assert/assert.c
index 65e4ea6e..967e4baf 100644
--- a/src/assert/assert.c
+++ b/src/assert/assert.c
@@ -13,7 +13,7 @@
#endif
#define assert(__exp__) \
- ((void)(__exp__ ? 0 : __assert(#__exp__, __FILE__, __LINE__, __func__)))
+ ((void)((__exp__) || (__assert(#__exp__, __FILE__, __LINE__, __func__), 0)))
#endif