diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-21 23:11:30 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-21 23:11:30 +0000 |
commit | 2b1b43eab3a253674c13d1ea253f3b0a85b45a0d (patch) | |
tree | 12a7c0bd3a6427d7677c37eca8d9b35620b42005 /mg.c | |
parent | bc0d193fb675e057840d0947b6bef8da756b5429 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |