aboutsummaryrefslogtreecommitdiffstats
path: root/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test.h')
-rw-r--r--test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.h b/test.h
index dcbf3b8..60d20ca 100644
--- a/test.h
+++ b/test.h
@@ -34,14 +34,14 @@
stderr_ok = old_stderr_ok__;\
break;\
}\
- assert(EXPR);\
+ EXPR;\
assert_unreached();\
} while (0)
#define assert_exit_ptr(EXPR)\
do {\
void *volatile ptr__;\
- assert_exit((ptr__ = (EXPR)));\
+ assert_exit((void)(ptr__ = (EXPR)));\
} while (0)
#define assert_stderr(FMT, ...)\