summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-01-21 23:11:30 +0000
committerNicholas Clark <nick@ccl4.org>2007-01-21 23:11:30 +0000
commit2b1b43eab3a253674c13d1ea253f3b0a85b45a0d (patch)
tree12a7c0bd3a6427d7677c37eca8d9b35620b42005 /mg.c
parentbc0d193fb675e057840d0947b6bef8da756b5429 (diff)
downloadperl-2b1b43eab3a253674c13d1ea253f3b0a85b45a0d.tar.gz
Restore the const to vtbl in Perl_mg_localize() removed in change
26924. p4raw-id: //depot/perl@29910
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 86f0e12796..a3e0f26b4b 100644
--- a/mg.c
+++ b/mg.c
@@ -413,7 +413,7 @@ Perl_mg_localize(pTHX_ SV *sv, SV *nsv)
dVAR;
MAGIC *mg;
for (mg = SvMAGIC(sv); mg; mg = mg->mg_moremagic) {
- MGVTBL* const vtbl = mg->mg_virtual;
+ const MGVTBL* const vtbl = mg->mg_virtual;
switch (mg->mg_type) {
/* value magic types: don't copy */
case PERL_MAGIC_bm: