diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-05-29 19:07:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-05-29 19:07:59 +0000 |
commit | 7b64b25b1940813e7252f394d4ac2f720abc1208 (patch) | |
tree | 0e05e632506a20b5b8ff970790b238a224f0ac7c /testsuites/psxtests/psxmsgq01 | |
parent | 2003-05-29 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-7b64b25b1940813e7252f394d4ac2f720abc1208.tar.bz2 |
2003-05-29 Joel Sherrill <joel@OARcorp.com>
* 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.
Diffstat (limited to 'testsuites/psxtests/psxmsgq01')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 ); |