summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-01 15:17:43 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-09-01 15:17:43 +0000
commite0b8fc84dbeed6c08b64ddbf4c5728d8b26205c5 (patch)
tree7e9f3d5f85d6dc4c1e2dd3ad0dd444ecb8b2f201
parent8f0dae45f1202976240f2a1eb8662df42b61b502 (diff)
downloadmpfr-e0b8fc84dbeed6c08b64ddbf4c5728d8b26205c5.tar.gz
[tests/turandom.c] Correction for 16-bit int.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11694 280ebfd0-de03-0410-8827-d642c229c3f4
-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);