summaryrefslogtreecommitdiffstats
path: root/XS.xs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-12-09 21:35:00 -0600
committerJesse Luehrs <doy@tozt.net>2011-12-09 21:35:00 -0600
commit2d533eafbee81a1c51334a351b2e309ace8d3508 (patch)
tree64719b9c6a4fa5d9eb99f632b7fc1a18c5281bd4 /XS.xs
parent8860963a0ad7d3cc2e26593efd448054adc2fc4b (diff)
downloadpackage-stash-xs-2d533eafbee81a1c51334a351b2e309ace8d3508.tar.gz
package-stash-xs-2d533eafbee81a1c51334a351b2e309ace8d3508.zip
avoid compile warning
Diffstat (limited to 'XS.xs')
-rw-r--r--XS.xs2
1 files changed, 1 insertions, 1 deletions
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); \
} \