summaryrefslogtreecommitdiff
path: root/tests/t-constants.c
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2000-12-21 23:17:51 +0100
committertege <tege@gmplib.org>2000-12-21 23:17:51 +0100
commita51b62e74fc926f7b10af8161ac7955929ee01ba (patch)
treea49b36a5ab3973b073c74582ff6fd82c5cc01dd5 /tests/t-constants.c
parent76795f41367b24a36982410455742665f998c66d (diff)
downloadgmp-a51b62e74fc926f7b10af8161ac7955929ee01ba.tar.gz
(CHECK_CONSTANT): Print using %lx.
Diffstat (limited to 'tests/t-constants.c')
-rw-r--r--tests/t-constants.c4
1 files changed, 2 insertions, 2 deletions
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) \