Commit 0d9cce8edb937bbe771a6cdd25f671edf06d2128

Josh Triplett 2014-03-16T16:22:58

testsuite: ffitest.h: Parenthesize the CHECK macro

1
2
3
4
5
6
7
8
9
10
11
12
13
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__