summaryrefslogtreecommitdiff
path: root/mg.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 /mg.c
parent940132f3fde5cf1c168dc34e3a3fea4e825977d5 (diff)
downloadperl-d526390560c1ae208a087ad4d648b08895f79f8f.tar.gz
More SvPV consting
p4raw-id: //depot/perl@24769
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index bcf6291c30..257d53d8d8 100644
--- a/mg.c
+++ b/mg.c
@@ -1289,7 +1289,7 @@ Perl_magic_setsig(pTHX_ SV *sv, MAGIC *mg)
SV* save_sv;
#endif
- register const char *s = MgPV(mg,len);
+ register const char *s = MgPV_const(mg,len);
if (*s == '_') {
if (strEQ(s,"__DIE__"))
svp = &PL_diehook;