There isn't PTR2INT(), there's PTR2IV().
Jarkko Hietaniemi [Sun, 2 Dec 2001 01:05:43 +0000 (01:05 +0000)]
p4raw-id: //depot/perl@13423

ext/Time/HiRes/HiRes.xs

index 781444a..4981741 100644 (file)
@@ -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);
 }