diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-28 22:14:26 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-10-28 22:14:26 +0000 |
commit | 85fbaab29c398adbb5b4445d3ed41e0a96364ce4 (patch) | |
tree | 15a994b3781bdecc7e89f92575577ad52894cc2a /pad.c | |
parent | b8082b6e76ddae55d59bd06493f5cb60a320b165 (diff) | |
download | perl-85fbaab29c398adbb5b4445d3ed41e0a96364ce4.tar.gz |
Every remaining (HV *) cast in *.c
p4raw-id: //depot/perl@34629
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -367,7 +367,7 @@ Perl_pad_add_name(pTHX_ const char *name, HV* typestash, HV* ourstash, bool fake if (typestash) { assert(SvTYPE(namesv) == SVt_PVMG); SvPAD_TYPED_on(namesv); - SvSTASH_set(namesv, (HV*)SvREFCNT_inc_simple_NN((SV*)typestash)); + SvSTASH_set(namesv, MUTABLE_HV(SvREFCNT_inc_simple_NN((SV*)typestash))); } if (ourstash) { SvPAD_OUR_on(namesv); |