From 18a4233a53d9b82abac7db7d7804684c5fea9c2c Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 11 Sep 2009 09:25:09 +0300 Subject: Fix a couple of warnings. --- tests/tests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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)) -- cgit v1.2.3