diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-28 21:46:07 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-28 21:46:07 -0500 |
| commit | 86c6df0d4a39febf66ef910a2e995aff6efe2f53 (patch) | |
| tree | 35c9b67334c6cb607ad05b9335c185257e6070f4 /src | |
| parent | 08d8fd2767733d893380ebf5c8a4743dd371528d (diff) | |
fix macro
Diffstat (limited to 'src')
| -rw-r--r-- | src/assert/assert.c | 2 |
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 |
