summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2014-05-11 09:56:40 -0400
committerAnthony Green <green@moxielogic.com>2014-05-11 09:56:40 -0400
commit70c303cb88e23aaee91c87c56b108c50ab4f3c2f (patch)
tree6d5915da1403e1a6ac0fa1082ca7af5120a29156
parent52b3457093ed19b2a7c5fcf243c4014c90ce6225 (diff)
downloadlibffi-70c303cb88e23aaee91c87c56b108c50ab4f3c2f.tar.gz
Fix testsuite for GCC 4.9.0
-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 316e5c0..15d5e44 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) (void)(!(x) ? (abort(), 1) : 0)
/* Define macros so that compilers other than gcc can run the tests. */
#undef __UNUSED__