aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-09-11 09:25:09 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-09-11 09:25:09 +0300
commit18a4233a53d9b82abac7db7d7804684c5fea9c2c (patch)
tree4b316054c2b0ad72284cca4ce41edb3402b45598 /tests/tests.h
parentAdd OS/2-specific code to physmem.h. (diff)
downloadxz-18a4233a53d9b82abac7db7d7804684c5fea9c2c.tar.xz
Fix a couple of warnings.
Diffstat (limited to '')
-rw-r--r--tests/tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.h b/tests/tests.h
index 185a6820..60a7276c 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -21,7 +21,7 @@
#define memcrap(buf, size) memset(buf, 0xFD, size)
-#define expect(test) ((test) ? 0 : (fprintf(stderr, "%s:%u: %s\n", \
+#define expect(test) ((test) ? 0 : (fprintf(stderr, "%s:%d: %s\n", \
__FILE__, __LINE__, #test), abort(), 0))
#define succeed(test) expect(!(test))