summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp20/task1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp20/task1.c')
-rw-r--r--testsuites/sptests/sp20/task1.c10
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 ]
);