summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-07-01 11:22:51 +0100
committerDavid Mitchell <davem@iabyn.com>2016-07-01 11:22:51 +0100
commitee4b19b959afbc7b1778ed123bdc8612e6fb0cd6 (patch)
treeaca121694b4c9769034d7202f8a64c0671e6434b /op.c
parente5c5b1c9e1022d343db093f5d2af6fb39e6d1e30 (diff)
downloadperl-ee4b19b959afbc7b1778ed123bdc8612e6fb0cd6.tar.gz
op_lvalue_flags(): silence compiler warning
op.c:3071:4: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
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 fccb5f65be..46e76ac91f 100644
--- a/op.c
+++ b/op.c
@@ -3068,7 +3068,7 @@ Perl_op_lvalue_flags(pTHX_ OP *o, I32 type, U32 flags)
in error messages. */
op_lvalue(OpSIBLING(cBINOPo->op_first),
S_potential_mod_type(type)
- ? OP_ENTERSUB
+ ? (I32)OP_ENTERSUB
: o->op_type);
}
break;