Updated.
[p5sagit/p5-mst-13.2.git] / XSUB.h
diff --git a/XSUB.h b/XSUB.h
index 8c2caa6..78a922d 100644 (file)
--- a/XSUB.h
+++ b/XSUB.h
@@ -34,4 +34,4 @@
 #define XSRETURN_UNDEF do { XST_mUNDEF(0); XSRETURN(1); } while (0)
 #define XSRETURN_EMPTY do {                XSRETURN(0); } while (0)
 
-#define newXSproto(a,b,c,d)    sv_setpv(newXS(a,b,c), d)
+#define newXSproto(a,b,c,d)    sv_setpv((SV*)newXS(a,b,c), d)