diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 09:09:52 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 09:09:52 +0000 |
commit | 6f46942a96d669ad911580516a4c630bf04865ca (patch) | |
tree | 794951fc2e7352f7e630a956aa80294a5a74b351 | |
parent | c0e1089ae3d29de8c9817373e1b7f36eaf9a9cd8 (diff) | |
download | perl-6f46942a96d669ad911580516a4c630bf04865ca.tar.gz |
One more SvPV_const
p4raw-id: //depot/perl@24752
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2358,7 +2358,7 @@ PP(pp_negate) SETn(-SvNV(sv)); else if (SvPOKp(sv)) { STRLEN len; - char *s = SvPV(sv, len); + const char *s = SvPV_const(sv, len); if (isIDFIRST(*s)) { sv_setpvn(TARG, "-", 1); sv_catsv(TARG, sv); |