Nail the ID 20000828.023.
Jarkko Hietaniemi [Tue, 29 Aug 2000 18:30:03 +0000 (18:30 +0000)]
p4raw-id: //depot/perl@6891

ext/Storable/Storable.xs

index 5913b0e..cd2a76b 100644 (file)
@@ -267,7 +267,7 @@ typedef struct stcxt {
 
 #define dSTCXT_PTR(T,name)                                                     \
        T name = (T)(perinterp_sv && SvIOK(perinterp_sv)\
-                               ? SvIVX(perinterp_sv) : NULL)
+                               ? INT2PTR(T, SvIVX(perinterp_sv)) : NULL)
 #define dSTCXT                                                                         \
        dSTCXT_SV;                                                                              \
        dSTCXT_PTR(stcxt_t *, cxt)