From: Jesse Luehrs <doy@tozt.net>
Date: Sat, 10 Dec 2011 03:35:00 +0000 (-0600)
Subject: avoid compile warning
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d533eafbee81a1c51334a351b2e309ace8d3508;p=gitmo%2FPackage-Stash-XS.git

avoid compile warning
---

diff --git a/XS.xs b/XS.xs
index 2021e6d..8bb5e84 100644
--- 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);               \
     }                                   \