summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-08-15 22:27:54 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-08-21 16:51:14 -0700
commitb70d55581aad461af858eb07a2e80ed5fcc653c1 (patch)
treecd79a718eca54f6504b4f6fe843d4c44a63bdcb6 /op.c
parent6763423431e1ea415b9abe4d7d5d8715e9203fc3 (diff)
downloadperl-b70d55581aad461af858eb07a2e80ed5fcc653c1.tar.gz
Use PADLIST in more places
Much code relies on the fact that PADLIST is typedeffed as AV. PADLIST should be treated as a distinct type.
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 9c87201b97..1a0e5abc21 100644
--- a/op.c
+++ b/op.c
@@ -7066,7 +7066,7 @@ Perl_newATTRSUB_flags(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs,
#endif
) {
cv_flags_t existing_builtin_attrs = CvFLAGS(cv) & CVf_BUILTIN_ATTRS;
- AV *const temp_av = CvPADLIST(cv);
+ PADLIST *const temp_av = CvPADLIST(cv);
CV *const temp_cv = CvOUTSIDE(cv);
const cv_flags_t other_flags =
CvFLAGS(cv) & (CVf_SLABBED|CVf_WEAKOUTSIDE);