diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 22:48:00 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 22:48:00 +0000 |
commit | d526390560c1ae208a087ad4d648b08895f79f8f (patch) | |
tree | 461f01c4dc1a61eaf8c2ccaaee2b249d7e873872 /regexec.c | |
parent | 940132f3fde5cf1c168dc34e3a3fea4e825977d5 (diff) | |
download | perl-d526390560c1ae208a087ad4d648b08895f79f8f.tar.gz |
More SvPV consting
p4raw-id: //depot/perl@24769
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |