From: Jarkko Hietaniemi Date: Sun, 2 Dec 2001 01:05:43 +0000 (+0000) Subject: There isn't PTR2INT(), there's PTR2IV(). X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cfb1f18ccca2d956de8b9ca71a575c4fa38c2b2f;p=p5sagit%2Fp5-mst-13.2.git There isn't PTR2INT(), there's PTR2IV(). p4raw-id: //depot/perl@13423 --- diff --git a/ext/Time/HiRes/HiRes.xs b/ext/Time/HiRes/HiRes.xs index 781444a..4981741 100644 --- a/ext/Time/HiRes/HiRes.xs +++ b/ext/Time/HiRes/HiRes.xs @@ -560,7 +560,7 @@ BOOT: #ifdef HAS_GETTIMEOFDAY { UV auv[2]; - hv_store(PL_modglobal, "Time::NVtime", 12, newSViv(PTR2INT(myNVtime)), 0); + hv_store(PL_modglobal, "Time::NVtime", 12, newSViv(PTR2IV(myNVtime)), 0); if (myU2time(auv) == 0) hv_store(PL_modglobal, "Time::U2time", 12, newSViv((IV) auv[0]), 0); }