summaryrefslogtreecommitdiff
path: root/tests/tset_z_exp.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-31 22:27:56 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2010-05-31 22:27:56 +0000
commit2fe415215347aa2e8a2e5ac0df611771986f3d6f (patch)
tree8fd26a496a846d83e57af244e9856be361a7f5ad /tests/tset_z_exp.c
parent178bcd6d0f2f4ccf24ad46ad6b5a0af1cd5db512 (diff)
downloadmpfr-2fe415215347aa2e8a2e5ac0df611771986f3d6f.tar.gz
[tests/tset_z_exp.c] Fixed type in a printf.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6901 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_z_exp.c')
-rw-r--r--tests/tset_z_exp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tset_z_exp.c b/tests/tset_z_exp.c
index f620e3dff..26b278078 100644
--- a/tests/tset_z_exp.c
+++ b/tests/tset_z_exp.c
@@ -84,7 +84,8 @@ check (long i, mpfr_rnd_t rnd)
inex = mpfr_set_z_2exp (f, z, e, rnd);
if (inex != 0)
{
- printf ("Error in mpfr_set_z_2exp for i=%ld, e=%ld, wrong ternary value\n", i, e);
+ printf ("Error in mpfr_set_z_2exp for i=%ld, e=%ld,"
+ " wrong ternary value\n", i, (long) e);
printf ("expected 0, got %d\n", inex);
exit (1);
}