summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-28 22:14:26 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-28 22:14:26 +0000
commit85fbaab29c398adbb5b4445d3ed41e0a96364ce4 (patch)
tree15a994b3781bdecc7e89f92575577ad52894cc2a /pp_sys.c
parentb8082b6e76ddae55d59bd06493f5cb60a320b165 (diff)
downloadperl-85fbaab29c398adbb5b4445d3ed41e0a96364ce4.tar.gz
Every remaining (HV *) cast in *.c
p4raw-id: //depot/perl@34629
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 96df28d219..7122499b5d 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -800,7 +800,7 @@ PP(pp_tie)
switch(SvTYPE(varsv)) {
case SVt_PVHV:
methname = "TIEHASH";
- HvEITER_set((HV *)varsv, 0);
+ HvEITER_set(MUTABLE_HV(varsv), 0);
break;
case SVt_PVAV:
methname = "TIEARRAY";
@@ -944,7 +944,7 @@ PP(pp_dbmopen)
HV* stash;
GV *gv;
- HV * const hv = (HV*)POPs;
+ HV * const hv = MUTABLE_HV(POPs);
SV * const sv = newSVpvs_flags("AnyDBM_File", SVs_TEMP);
stash = gv_stashsv(sv, 0);
if (!stash || !(gv = gv_fetchmethod(stash, "TIEHASH"))) {