From 2a49eaa6d41eea5e47b3c9fa4b34e19e16e2726d Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Thu, 11 Aug 2022 15:50:39 +0100 Subject: Use the cBINOPx-family of macros instead of manual (BINOP*) casting --- peep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'peep.c') diff --git a/peep.c b/peep.c index 58031643f1..e9041a36cd 100644 --- a/peep.c +++ b/peep.c @@ -1293,10 +1293,10 @@ S_finalize_op(pTHX_ OP* o) SVOP *key_op; OP *kid; - if ((key_op = cSVOPx(((BINOP*)o)->op_last))->op_type != OP_CONST) + if ((key_op = cSVOPx(cBINOPo->op_last))->op_type != OP_CONST) break; - rop = (UNOP*)((BINOP*)o)->op_first; + rop = (UNOP*)cBINOPo->op_first; goto check_keys; @@ -2072,7 +2072,7 @@ S_maybe_multideref(pTHX_ OP *start, OP *orig_o, UV orig_action, U8 hints) || helem_op->op_type == OP_NULL || pass == 0); if (helem_op->op_type == OP_HELEM) { - rop = (UNOP*)(((BINOP*)helem_op)->op_first); + rop = (UNOP*)(cBINOPx(helem_op)->op_first); if ( helem_op->op_private & OPpLVAL_INTRO || rop->op_type != OP_RV2HV ) -- cgit v1.2.1