summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/tests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.h b/tests/tests.h
index 3a031cb14..f306cf068 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -424,7 +424,7 @@ istringstream : public std::istrstream {
envval = getenv ("GMP_CHECK_REPFACTOR"); \
if (envval != NULL) \
{ \
- repfactor = strtod (envval, &end, 0); \
+ repfactor = strtod (envval, &end); \
if (*end || repfactor <= 0) \
{ \
fprintf (stderr, "Invalid repfactor: %ld.\n", repfactor); \