summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-03-16 16:22:58 -0700
committerJosh Triplett <josh@joshtriplett.org>2014-03-16 20:34:46 -0700
commit0d9cce8edb937bbe771a6cdd25f671edf06d2128 (patch)
treed48beb1def5bc700e1d4353aa64f3e50f42e3f04 /testsuite
parent5695ec1444c5323e48fe4314f8c8f027625e67df (diff)
downloadlibffi-0d9cce8edb937bbe771a6cdd25f671edf06d2128.tar.gz
testsuite: ffitest.h: Parenthesize the CHECK macro
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/libffi.call/ffitest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/libffi.call/ffitest.h b/testsuite/libffi.call/ffitest.h
index 1919375..752fe55 100644
--- a/testsuite/libffi.call/ffitest.h
+++ b/testsuite/libffi.call/ffitest.h
@@ -15,7 +15,7 @@
#define MAX_ARGS 256
-#define CHECK(x) !(x) ? (abort(), 1) : 0
+#define CHECK(x) (!(x) ? (abort(), 1) : 0)
/* Define macros so that compilers other than gcc can run the tests. */
#undef __UNUSED__