summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XSUB.h b/XSUB.h
index 8c2caa66bf..78a922defd 100644
--- 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)