From 7b64b25b1940813e7252f394d4ac2f720abc1208 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 29 May 2003 19:07:59 +0000 Subject: 2003-05-29 Joel Sherrill * psx02/init.c, psx04/init.c, psx13/test.c, psxchroot01/test.c, psxhdrs/pthread07.c, psxmsgq01/init.c, psxreaddir/test.c, psxtimer/psxtimer.c: Removed warnings. --- testsuites/psxtests/psxmsgq01/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxmsgq01') diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 56587254b4..7edae0f5cc 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -675,7 +675,9 @@ void validate_mq_receive_error_codes( ) void verify_open_functionality() { +#if 0 mqd_t n_mq; +#endif Start_Test( "mq_open functionality" ); @@ -765,7 +767,7 @@ void verify_timed_send_queue( fatal_posix_service_status( errno, ETIMEDOUT, "errno ETIMEDOUT"); } - printf("Init: %d sec %d us\n", tv3.tv_sec, tv3.tv_usec ); + printf("Init: %ld sec %ld us\n", (long)tv3.tv_sec, (long)tv3.tv_usec ); if ( is_blocking ) /* non-blocking queue */ assert( tv3.tv_sec == 1 ); @@ -817,7 +819,7 @@ void verify_timed_receive_queue( fatal_int_service_status( status, -1, "mq_timedreceive status"); if ( is_blocking ) fatal_posix_service_status( errno, ETIMEDOUT, "errno ETIMEDOUT"); - printf( "Init: %d sec %d us\n", tv3.tv_sec, tv3.tv_usec ); + printf( "Init: %ld sec %ld us\n", (long)tv3.tv_sec, (long)tv3.tv_usec ); if ( is_blocking ) assert( tv3.tv_sec == 1 ); -- cgit v1.2.3