summaryrefslogtreecommitdiff
path: root/tests/tfactorial.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-13 12:25:14 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2004-02-13 12:25:14 +0000
commitc70a49d29af3528fbcec09f605a053e25dbaeded (patch)
tree2d6bf985e4445f73e0a4dca07d2803bcf17a5b4d /tests/tfactorial.c
parent2ad2125c3aebbdeb8d6c3da12c653bb02fc507bb (diff)
downloadmpfr-c70a49d29af3528fbcec09f605a053e25dbaeded.tar.gz
removed warnings
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2702 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tfactorial.c')
-rw-r--r--tests/tfactorial.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/tfactorial.c b/tests/tfactorial.c
index 0b82df543..f7a7294d5 100644
--- a/tests/tfactorial.c
+++ b/tests/tfactorial.c
@@ -96,15 +96,15 @@ test_int (void)
inex2 = mpfr_set_z (y, f, r);
if (mpfr_cmp (x, y))
{
- printf ("Error for n=%u prec=%u rnd=%s\n", n, p,
- mpfr_print_rnd_mode (r));
+ printf ("Error for n=%lu prec=%lu rnd=%s\n",
+ n, (unsigned long) p, mpfr_print_rnd_mode (r));
exit (1);
}
if ((inex1 < 0 && inex2 >= 0) || (inex1 == 0 && inex2 != 0)
|| (inex1 > 0 && inex2 <= 0))
{
- printf ("Wrong inexact flag for n=%u prec=%u rnd=%s\n", n, p,
- mpfr_print_rnd_mode (r));
+ printf ("Wrong inexact flag for n=%lu prec=%lu rnd=%s\n",
+ n, (unsigned long) p, mpfr_print_rnd_mode (r));
exit (1);
}
}