diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-29 22:45:15 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-10-29 22:45:15 +0000 |
commit | 502c6561fcd473b7da3277363169d75f16ac2f8b (patch) | |
tree | 5b840aca24d5b44969c910e6c97f9edf7e221e48 /mathoms.c | |
parent | 70d97eb0b44379e6179430e19c4bb4222d3544e9 (diff) | |
download | perl-502c6561fcd473b7da3277363169d75f16ac2f8b.tar.gz |
Eliminate (AV *) casts in *.c.
p4raw-id: //depot/perl@34650
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -609,7 +609,7 @@ AV * Perl_av_fake(pTHX_ register I32 size, register SV **strp) { register SV** ary; - register AV * const av = (AV*)newSV_type(SVt_PVAV); + register AV * const av = MUTABLE_AV(newSV_type(SVt_PVAV)); PERL_ARGS_ASSERT_AV_FAKE; @@ -1445,7 +1445,7 @@ Perl_hv_delete(pTHX_ HV *hv, const char *key, I32 klen_i32, I32 flags) AV * Perl_newAV(pTHX) { - return (AV*)newSV_type(SVt_PVAV); + return MUTABLE_AV(newSV_type(SVt_PVAV)); /* sv_upgrade does AvREAL_only(): AvALLOC(av) = 0; AvARRAY(av) = NULL; |