summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-08-18 16:43:46 +0300
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-08-18 11:10:27 +0000
commitc042ae3a74be2a1c6b85173b59f6a608815afef8 (patch)
tree7d41e4d8fbd45136349a5fa3b278c39b8ef5160e /numeric.c
parent4c3a8340729ab239a926a5263f711fc20a0e2468 (diff)
downloadperl-c042ae3a74be2a1c6b85173b59f6a608815afef8.tar.gz
5.9.x (and 5.8.x): Symbian update
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A41B@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@25304
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 5eafddaf9f..2970dad08a 100644
--- 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);