cast to CV to avoid warning
Yuval Kogman [Wed, 20 Aug 2008 09:55:42 +0000 (09:55 +0000)]
Moose.xs

index 1bd6c12..f5d4b57 100644 (file)
--- 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;
         }