summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2016-10-19 11:14:26 +0200
committerYves Orton <demerphq@gmail.com>2016-10-19 13:28:01 +0200
commit26add6d4742e30776d0eece5905625b34ce3c2a3 (patch)
treec1fed48e8907aae96f166e45756db58799993286 /numeric.c
parent4d00dfae3cb125595c5230962f5b243f5a096dde (diff)
downloadperl-26add6d4742e30776d0eece5905625b34ce3c2a3.tar.gz
numeric.c: use new SvPVCLEAR and constant string friendly macros
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 7e05966ccf..6ea6968c27 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1013,7 +1013,7 @@ Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags)
s++;
if (s >= send)
return numtype;
- if (len == 10 && memEQ(pv, "0 but true", 10)) {
+ if (len == 10 && _memEQs(pv, "0 but true")) {
if (valuep)
*valuep = 0;
return IS_NUMBER_IN_UV;