summaryrefslogtreecommitdiff
path: root/tests/tcmp2.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-01-14 00:06:00 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2009-01-14 00:06:00 +0000
commitc2d573f2fbe97a9882168be16473bf03f494166c (patch)
treefdd50b06e045020f44da0692d46c897bbea07e13 /tests/tcmp2.c
parent7174907b71c8c336bcb5f6812ecbeed95c31de49 (diff)
downloadmpfr-c2d573f2fbe97a9882168be16473bf03f494166c.tar.gz
tests/tcmp2.c: fixed printf format strings.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5810 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tcmp2.c')
-rw-r--r--tests/tcmp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcmp2.c b/tests/tcmp2.c
index 688d5d65d..89e753cc0 100644
--- a/tests/tcmp2.c
+++ b/tests/tcmp2.c
@@ -69,7 +69,7 @@ worst_cases (void)
mpfr_out_str (stdout, 2, 0, x, GMP_RNDN);
printf ("\ny=");
mpfr_out_str (stdout, 2, 0, y, GMP_RNDN);
- printf ("\ngot %lu instead of %u\n", l, 1);
+ printf ("\ngot %lu instead of 1\n", l);
exit (1);
}
@@ -81,7 +81,7 @@ worst_cases (void)
mpfr_out_str (stdout, 2, 0, x, GMP_RNDN);
printf ("\ny=");
mpfr_out_str (stdout, 2, 0, y, GMP_RNDN);
- printf ("\ngot %lu instead of %u\n", l, 0);
+ printf ("\ngot %lu instead of 0\n", l);
exit (1);
}
}