From a51b62e74fc926f7b10af8161ac7955929ee01ba Mon Sep 17 00:00:00 2001 From: tege Date: Thu, 21 Dec 2000 23:17:51 +0100 Subject: (CHECK_CONSTANT): Print using %lx. --- tests/t-constants.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/t-constants.c') diff --git a/tests/t-constants.c b/tests/t-constants.c index e8ae73ebf..922d8c1a1 100644 --- a/tests/t-constants.c +++ b/tests/t-constants.c @@ -31,7 +31,7 @@ MA 02111-1307, USA. #define CHECK_CONSTANT(x,y) \ if ((x) != (y)) \ { \ - printf ("%s == %d, but %s == %d\n", #x, x, #y, y); \ + printf ("%s == %lx, but %s == %lx\n", #x, x, #y, y); \ abort (); \ } #define CHECK_CONDITION(x) \ @@ -45,7 +45,7 @@ MA 02111-1307, USA. #define CHECK_CONSTANT(x,y) \ if ((x) != (y)) \ { \ - printf ("x == %d, but y == %d\n", x, y); \ + printf ("x == %lx, but y == %lx\n", x, y); \ abort (); \ } #define CHECK_CONDITION(x) \ -- cgit v1.2.1