summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-07 21:16:13 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-07 21:16:13 +0000
commit10516c54a74630cf74b5f3650f62a47cae3b2ac0 (patch)
treebf97f300ff97cf11727fc86c6de43751b823c6da /pp_hot.c
parent245d4a47e185d4e38ca6440eb62ae19d5e411fd1 (diff)
downloadperl-10516c54a74630cf74b5f3650f62a47cae3b2ac0.tar.gz
More SvPV consting
p4raw-id: //depot/perl@24743
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 5115e0342e..0e5fa70ce2 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -173,7 +173,7 @@ PP(pp_concat)
mg_get(left); /* or mg_get(left) may happen here */
if (!SvOK(TARG))
sv_setpvn(left, "", 0);
- (void)SvPV_nomg(left, llen); /* Needed to set UTF8 flag */
+ (void)SvPV_nomg_const(left, llen); /* Needed to set UTF8 flag */
lbyte = !DO_UTF8(left);
if (IN_BYTES)
SvUTF8_off(TARG);