From: Yuval Kogman Date: Wed, 20 Aug 2008 09:55:42 +0000 (+0000) Subject: cast to CV to avoid warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6011a844b8baffe83df9862755efd5f61be1d2cd;p=gitmo%2FMoose.git cast to CV to avoid warning --- diff --git a/Moose.xs b/Moose.xs index 1bd6c12..f5d4b57 100644 --- a/Moose.xs +++ b/Moose.xs @@ -584,7 +584,7 @@ STATIC void delete_mi (pTHX_ MI *mi) { /* clear the pointers to this meta attr from all the CVs */ SV **cvs = AvARRAY(attr->cvs); for ( j = av_len(attr->cvs); j >= 0; j-- ) { - CV *cv = cvs[j]; + CV *cv = (CV *)cvs[j]; XSANY.any_i32 = 0; }