summaryrefslogtreecommitdiff
path: root/harness.c
diff options
context:
space:
mode:
Diffstat (limited to 'harness.c')
-rw-r--r--harness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/harness.c b/harness.c
index 846e7e9..4af8bd0 100644
--- a/harness.c
+++ b/harness.c
@@ -48,7 +48,7 @@
#endif
/** Make sure a function is called by using the return value */
-#define SPOIL(_x) volatile int x = (int)(_x); (void)x
+#define SPOIL(_x) volatile long x = (long)(_x); (void)x
/** Type of functions that can be tested */
typedef void (*stub_t)(void *dest, void *src, size_t n);