summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 1aadce5155..00d58bc4d6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -448,7 +448,7 @@ Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
break;
}
if (digit >= 0 && digit <= 9
- && !(s < send)) {
+ && (s < send)) {
/* value overflowed.
skip the remaining digits, don't
worry about setting *valuep. */