summaryrefslogtreecommitdiff
path: root/tests/tnext.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tnext.c')
-rw-r--r--tests/tnext.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/tnext.c b/tests/tnext.c
index 0ae9b0a31..6a00d6c34 100644
--- a/tests/tnext.c
+++ b/tests/tnext.c
@@ -21,10 +21,7 @@ MA 02111-1307, USA. */
#include <stdio.h>
#include <stdlib.h>
-#include "gmp.h"
-#include "gmp-impl.h"
-#include "mpfr.h"
-#include "mpfr-impl.h"
+
#include "mpfr-test.h"
/* Generic tests for mpfr_nextabove and mpfr_nextbelow */
@@ -81,7 +78,7 @@ inverse_test (void)
int i, neg, below;
mp_prec_t prec;
- for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++)
+ for (i = 0; i < (int) (sizeof(tests) / sizeof(tests[0])); i++)
for (neg = 0; neg <= 1; neg++)
for (below = 0; below <= 1; below++)
for (prec = MPFR_PREC_MIN; prec < 200; prec += 3)