Upgrade to Compress::Zlib 1.38
[p5sagit/p5-mst-13.2.git] / numeric.c
index 5eafdda..2970dad 100644 (file)
--- a/numeric.c
+++ b/numeric.c
@@ -897,7 +897,7 @@ Perl_my_atof2(pTHX_ const char* orig, NV* value)
 
 #ifdef HAS_STRTOD
     if (*s == 'n' || *s == 'N' || *s == 'i' || *s == 'I') {
-        char *p = negative ? s-1 : s;
+        const char *p = negative ? s - 1 : s;
         char *endp;
         NV rslt;
         rslt = strtod(p, &endp);