summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-08 22:48:00 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-08 22:48:00 +0000
commitd526390560c1ae208a087ad4d648b08895f79f8f (patch)
tree461f01c4dc1a61eaf8c2ccaaee2b249d7e873872 /regexec.c
parent940132f3fde5cf1c168dc34e3a3fea4e825977d5 (diff)
downloadperl-d526390560c1ae208a087ad4d648b08895f79f8f.tar.gz
More SvPV consting
p4raw-id: //depot/perl@24769
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 8b305e8af9..d412ef8471 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2070,7 +2070,7 @@ got_it:
(int) SvTYPE(sv));
}
prog->saved_copy = sv_setsv_cow(prog->saved_copy, sv);
- prog->subbeg = SvPVX(prog->saved_copy);
+ prog->subbeg = (char *)SvPVX_const(prog->saved_copy);
assert (SvPOKp(prog->saved_copy));
} else
#endif