Don't try to print ints as IVs.
Jarkko Hietaniemi [Wed, 24 Oct 2001 12:10:37 +0000 (12:10 +0000)]
p4raw-id: //depot/perl@12617

ext/Time/HiRes/HiRes.xs

index dcc51e9..08fe5cc 100644 (file)
@@ -429,13 +429,13 @@ sleep(...)
 
 #ifdef HAS_UALARM
 
-IV
+int
 ualarm(useconds,interval=0)
        int useconds
        int interval
        CODE:
        if (useconds < 0 || interval < 0)
-           croak("Time::HiRes::ualarm(%"IVdf", %"IVdf"): negative time not invented yet", useconds, interval);
+           croak("Time::HiRes::ualarm(%d, %d): negative time not invented yet", useconds, interval);
        RETVAL = ualarm(useconds, interval);
 
        OUTPUT: