diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-10-19 16:21:41 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-10-19 16:21:41 +0000 |
commit | 518becc383f29d0ac0fbaf585dd8743e7c813ff0 (patch) | |
tree | e81ccea224eb728d1952fced2a83fbdb37d7482b /tests/tcan_round.c | |
parent | 85613ee2a940ea04e88acd6bedab651df4f2f976 (diff) | |
download | mpfr-518becc383f29d0ac0fbaf585dd8743e7c813ff0.tar.gz |
[tests/*.c] Support the case where mpfr_exp_t is not a long int
(but with such a future extension, one should probably provide
a MPFR_PRIexp macro, similar to what <inttypes.h> does).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7226 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcan_round.c')
-rw-r--r-- | tests/tcan_round.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcan_round.c b/tests/tcan_round.c index 079afd0be..0b2e5b8af 100644 --- a/tests/tcan_round.c +++ b/tests/tcan_round.c @@ -50,7 +50,7 @@ check_round_p (void) { printf ("mpfr_round_p(%d) != mpfr_can_round(%d)!\n" "bn = %ld, err0 = %ld, prec = %lu\nbp = ", - r1, r2, n, err, (unsigned long) p); + r1, r2, n, (long) err, (unsigned long) p); gmp_printf ("%NX\n", buf, n); exit (1); } |