summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-10-28 18:30:54 +0000
committerNicholas Clark <nick@ccl4.org>2008-10-28 18:30:54 +0000
commitdbebbdb4f8fce905319dd478ac6436d7a5ae8cad (patch)
tree2c82745a9bf79e01e084b0b204b8d623dd64406b /scope.h
parent0c289d1353d1d6a489307ffba4ca3a6f96e97809 (diff)
downloadperl-dbebbdb4f8fce905319dd478ac6436d7a5ae8cad.tar.gz
Add MUTABLE_HV(), and remove (HV *) casts from headers.
p4raw-id: //depot/perl@34619
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.h b/scope.h
index de658f3dae..25ccbf6fdb 100644
--- a/scope.h
+++ b/scope.h
@@ -137,7 +137,7 @@ Closing bracket on a callback. See C<ENTER> and L<perlcall>.
#define SAVESHAREDPV(s) save_shared_pvref((char**)&(s))
#define SAVESETSVFLAGS(sv,mask,val) save_set_svflags(sv,mask,val)
#define SAVEDELETE(h,k,l) \
- save_delete((HV*)(h), (char*)(k), (I32)(l))
+ save_delete(MUTABLE_HV(h), (char*)(k), (I32)(l))
#define SAVEDESTRUCTOR(f,p) \
save_destructor((DESTRUCTORFUNC_NOCONTEXT_t)(f), (void*)(p))