avoid compile warning
Jesse Luehrs [Sat, 10 Dec 2011 03:35:00 +0000 (21:35 -0600)]
XS.xs

diff --git a/XS.xs b/XS.xs
index 2021e6d..8bb5e84 100644 (file)
--- a/XS.xs
+++ b/XS.xs
@@ -96,7 +96,7 @@
 } while (0)
 #define GvSetCV(g,v) do {               \
     SvREFCNT_dec(GvCV(g));              \
-    if ((GvCV_set(g, v))) {             \
+    if ((GvCV_set(g, (CV*)(v)))) {      \
         GvIMPORTED_CV_on(g);            \
         GvASSUMECV_on(g);               \
     }                                   \