From: Vincent Pit Date: Wed, 29 Apr 2015 12:53:57 +0000 (-0300) Subject: Silence a couple of compiler warnings X-Git-Tag: v0.15~13 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fautovivification.git;a=commitdiff_plain;h=87286831234d1bff560036f1ae04f7924704073c Silence a couple of compiler warnings --- diff --git a/autovivification.xs b/autovivification.xs index 9158114..0a7330e 100644 --- a/autovivification.xs +++ b/autovivification.xs @@ -869,7 +869,7 @@ static SV *a_do_fake_pp_unop_arg1(pTHX_ U32 type, U32 flags, SV *arg) { PUSHs(arg); PUTBACK; - return a_do_fake_pp(&unop); + return a_do_fake_pp((OP *) &unop); } static SV *a_do_fake_pp_unop_arg2(pTHX_ U32 type, U32 flags, SV *arg1, SV *arg2) { @@ -884,7 +884,7 @@ static SV *a_do_fake_pp_unop_arg2(pTHX_ U32 type, U32 flags, SV *arg1, SV *arg2) PUSHs(arg2); PUTBACK; - return a_do_fake_pp(&unop); + return a_do_fake_pp((OP *) &unop); } #define a_do_pp_rv2av(R) a_do_fake_pp_unop_arg1(OP_RV2AV, OPf_REF, (R))