diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-10-29 21:57:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-10-29 21:57:34 +0000 |
commit | ea726b52599b52cf534201a46ec3455418c9eb8e (patch) | |
tree | 4206fe1b3aea75154b82cac19301cc56345b63a4 /pp_sort.c | |
parent | 126f53f392147cb95f8643714b33fe373747680a (diff) | |
download | perl-ea726b52599b52cf534201a46ec3455418c9eb8e.tar.gz |
Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.
p4raw-id: //depot/perl@34647
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1813,7 +1813,7 @@ S_sortcv_xsub(pTHX_ SV *const a, SV *const b) dVAR; dSP; const I32 oldsaveix = PL_savestack_ix; const I32 oldscopeix = PL_scopestack_ix; - CV * const cv=(CV*)PL_sortcop; + CV * const cv=MUTABLE_CV(PL_sortcop); I32 result; PERL_ARGS_ASSERT_SORTCV_XSUB; |