summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2008-04-07 08:54:32 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2008-04-07 08:54:32 +0000
commit09a9b7730daf92039614e0a71640c4744570ca77 (patch)
tree7c0ae18834ae7458a59614ad6023070253bb0e87
parent9096254e723f549b6d6491d5eddd08c05bbd8ebd (diff)
downloadmpfr-09a9b7730daf92039614e0a71640c4744570ca77.tar.gz
fixed compiler warning
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5349 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tcmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcmp.c b/tests/tcmp.c
index adaa0fd66..749c4bf90 100644
--- a/tests/tcmp.c
+++ b/tests/tcmp.c
@@ -160,13 +160,13 @@ main (void)
mpfr_set_ui (yy, 1, GMP_RNDN);
if ((i = mpfr_cmp3 (xx, yy, 1)) >= 0)
{
- printf ("Error: mpfr_cmp3 (0, 1, 1) gives %d instead of"
+ printf ("Error: mpfr_cmp3 (0, 1, 1) gives %ld instead of"
" a negative value\n", i);
exit (1);
}
if ((i = mpfr_cmp3 (xx, yy, -1)) <= 0)
{
- printf ("Error: mpfr_cmp3 (0, 1, -1) gives %d instead of"
+ printf ("Error: mpfr_cmp3 (0, 1, -1) gives %ld instead of"
" a positive value\n", i);
exit (1);
}