summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/turandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/turandom.c b/tests/turandom.c
index c62ffc68d..6f138370c 100644
--- a/tests/turandom.c
+++ b/tests/turandom.c
@@ -313,7 +313,7 @@ test_underflow (int verbose)
{
mpfr_t x;
mpfr_exp_t emin = mpfr_get_emin ();
- int i, exp[6] = {0, 0, 0, 0, 0, 0};
+ long i, exp[6] = {0, 0, 0, 0, 0, 0};
mpfr_init2 (x, 2);
mpfr_set_emin (-3);