diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 16:53:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 16:53:35 +0000 |
commit | c21011af0ef8c87e26252352a19befa873e30d7d (patch) | |
tree | bf72798da8302970cd239adb6ea11a2f9181dda7 /testsuites/sptests/sp20 | |
parent | 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-c21011af0ef8c87e26252352a19befa873e30d7d.tar.bz2 |
Misc. uint32_t fixes.
Diffstat (limited to 'testsuites/sptests/sp20')
-rw-r--r-- | testsuites/sptests/sp20/task1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c index 431c72f2b5..5b6b76f064 100644 --- a/testsuites/sptests/sp20/task1.c +++ b/testsuites/sptests/sp20/task1.c @@ -36,9 +36,9 @@ rtems_task Task_1_through_6( { rtems_id rmid; rtems_id test_rmid; - uint32_t index; - uint32_t pass; - uint32_t failed; + int index; + int pass; + uint32_t failed; rtems_status_code status; status = rtems_rate_monotonic_create( argument, &rmid ); @@ -57,7 +57,7 @@ rtems_task Task_1_through_6( } put_name( Task_name[ argument ], FALSE ); - printf( "- (0x%08" PRIxrtems_id ") period %d\n", rmid, Periods[ argument ] ); + printf( "- (0x%08" PRIxrtems_id ") period %" PRIu32 "\n", rmid, Periods[ argument ] ); status = rtems_task_wake_after( 2 ); directive_failed( status, "rtems_task_wake_after" ); @@ -94,7 +94,7 @@ rtems_task Task_1_through_6( if ( Temporary_count.count[ index ] != Iterations[ index ] ) { puts_nocr( "FAIL -- " ); put_name ( Task_name[ index ], FALSE ); - printf ( " Actual=%d, Expected=%d\n", + printf ( " Actual=%" PRIu32 ", Expected=%" PRIu32 "\n", Temporary_count.count[ index ], Iterations[ index ] ); |