From: Vincent Pit Date: Sun, 28 Sep 2014 15:35:05 +0000 (+0200) Subject: Silence a compiler warning X-Git-Tag: v0.06~1 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FThread-Cleanup.git;a=commitdiff_plain;h=adfcfb78d604012463e00090dfb549381d98cd6e Silence a compiler warning --- diff --git a/Cleanup.xs b/Cleanup.xs index 919bbff..43ab949 100644 --- a/Cleanup.xs +++ b/Cleanup.xs @@ -67,7 +67,7 @@ PPCODE: PL_endav = newAV(); av_unshift(PL_endav, 1); SvREFCNT_inc(cv); - if (!av_store(PL_endav, 0, cv)) + if (!av_store(PL_endav, 0, (SV *) cv)) SvREFCNT_dec(cv); sv_magicext((SV *) PL_endav, NULL, PERL_MAGIC_ext, &tc_endav_vtbl, NULL, 0); }