From ed1cc159c3e0d2cc0d98793a728a009f1deaae4f Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 18 Aug 2005 16:43:46 +0300 Subject: [PATCH] Integrate (the numeric.c tweak): [ 25304] Subject: [PATCH] 5.9.x (and 5.8.x): Symbian update Message-ID: p4raw-link: @25304 on //depot/perl: c042ae3a74be2a1c6b85173b59f6a608815afef8 p4raw-id: //depot/maint-5.8/perl@25643 p4raw-integrated: from //depot/perl@25642 'merge in' numeric.c (@25299..) --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numeric.c b/numeric.c index 2582a1e..7aba0bb 100644 --- a/numeric.c +++ b/numeric.c @@ -896,7 +896,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); -- 1.8.3.1