fix this fallback macro
[gitmo/Package-Stash-XS.git] / Stash.xs
index 9feb860..2eb03a0 100644 (file)
--- a/Stash.xs
+++ b/Stash.xs
@@ -17,7 +17,7 @@
 #ifdef newSVhek
 #define newSVhe(he) newSVhek(HeKEY_hek(he))
 #else
-#define newSVhe(he) newSVpvn(HePV(he))
+#define newSVhe(he) newSVpv(HePV(he, PL_na), 0)
 #endif
 
 #ifndef savesvpv