summaryrefslogtreecommitdiff
path: root/tests/tcan_round.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcan_round.c')
-rw-r--r--tests/tcan_round.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tcan_round.c b/tests/tcan_round.c
index e0b1d0119..d2679b43e 100644
--- a/tests/tcan_round.c
+++ b/tests/tcan_round.c
@@ -1,6 +1,6 @@
/* Test file for mpfr_can_round.
-Copyright 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright 1999, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of the MPFR Library.
@@ -62,10 +62,10 @@ main (void)
for (i = 30; i < 99; i++)
for (j = 30; j < 99; j++)
{
- mp_rnd_t r1, r2;
+ int r1, r2;
for (r1 = 0; r1 < GMP_RND_MAX ; r1++)
for (r2 = 0; r2 < GMP_RND_MAX ; r2++)
- mpfr_can_round (x, i, r1, r2, j); /* test for assertions */
+ mpfr_can_round (x, i, (mp_rnd_t) r1, (mp_rnd_t) r2, j); /* test for assertions */
}
mpfr_clear (x);