From: Jarkko Hietaniemi Date: Tue, 29 Aug 2000 18:30:03 +0000 (+0000) Subject: Nail the ID 20000828.023. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ceaa1e840251e0447c45486cb406be00f6a0635d;p=p5sagit%2Fp5-mst-13.2.git Nail the ID 20000828.023. p4raw-id: //depot/perl@6891 --- diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs index 5913b0e..cd2a76b 100644 --- a/ext/Storable/Storable.xs +++ b/ext/Storable/Storable.xs @@ -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)