From: Vincent Pit Date: Sun, 23 Aug 2009 09:06:16 +0000 (+0200) Subject: Silence a const warning X-Git-Tag: v0.07~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=22e6f32617b569a7d316eb966ae304bc57b979cd;p=perl%2Fmodules%2Fre-engine-Plugin.git Silence a const warning --- diff --git a/Plugin.xs b/Plugin.xs index 2aeb2b9..544fab8 100644 --- a/Plugin.xs +++ b/Plugin.xs @@ -283,7 +283,7 @@ Plugin_numbered_buff_STORE(pTHX_ REGEXP * const RX, const I32 paren, PUSHMARK(SP); XPUSHs(rx->pprivate); XPUSHs(sv_2mortal(newSViv(paren))); - XPUSHs(SvREFCNT_inc(value)); + XPUSHs(SvREFCNT_inc((SV *) value)); PUTBACK; call_sv(callback, G_DISCARD);