From 54b4a0248194aa8dc567bffd6e8714561498653f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 30 Oct 2009 17:28:43 +0000 Subject: Use %ld to print "time"s. --- testsuites/itrontests/itrontime01/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites/itrontests') diff --git a/testsuites/itrontests/itrontime01/init.c b/testsuites/itrontests/itrontime01/init.c index 262b569ace..1973d72410 100644 --- a/testsuites/itrontests/itrontime01/init.c +++ b/testsuites/itrontests/itrontime01/init.c @@ -41,9 +41,9 @@ s_time = (1985L-1970L)*365L*24L*60L*60L; r_time = t_time - s_time; m_sec = r_time*1000; -printf( "Time from 1970: %d\n", t_time ); -printf( "Time between 1970 and 1985: %d\n", s_time ); -printf( "Time from 1985: %d\n", r_time ); +printf( "Time from 1970: %ld\n", t_time ); +printf( "Time between 1970 and 1985: %ld\n", s_time ); +printf( "Time from 1985: %ld\n", r_time ); printf("milliseconds: %ld\n",m_sec); return 0; -- cgit v1.2.3