summaryrefslogtreecommitdiff
path: root/peep.c
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-08-11 15:53:07 +0100
committerPaul Evans <leonerd@leonerd.org.uk>2022-08-15 14:50:25 +0100
commit008ea6fc45fe9d4da4a15062e391deba35c72740 (patch)
tree83ef05979ac8bcd8911fec851881c8e200c03180 /peep.c
parent2a49eaa6d41eea5e47b3c9fa4b34e19e16e2726d (diff)
downloadperl-008ea6fc45fe9d4da4a15062e391deba35c72740.tar.gz
Use the cLOGOPx-family of macros instead of manual (LOGOP*) casting
Diffstat (limited to 'peep.c')
-rw-r--r--peep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peep.c b/peep.c
index e9041a36cd..61bc7455fe 100644
--- a/peep.c
+++ b/peep.c
@@ -3560,7 +3560,7 @@ Perl_rpeep(pTHX_ OP *o)
)
&& (o->op_next->op_flags & OPf_WANT) == OPf_WANT_VOID
) {
- o->op_next = ((LOGOP*)o->op_next)->op_other;
+ o->op_next = cLOGOPx(o->op_next)->op_other;
}
DEFER(cLOGOP->op_other);
o->op_opt = 1;