summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/sptests/sp20/task1.c2
-rw-r--r--testsuites/sptests/sp32/init.c2
-rw-r--r--testsuites/sptests/spclockget/init.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/sptests/sp20/task1.c b/testsuites/sptests/sp20/task1.c
index 5b6b76f064..680cba9f5f 100644
--- a/testsuites/sptests/sp20/task1.c
+++ b/testsuites/sptests/sp20/task1.c
@@ -143,7 +143,7 @@ rtems_task Task_1_through_6(
{
rtems_interval meas = time[index] - time[index-1];
period = index*TA6_PERIOD_FACTOR;
- printf("TA6 - Actual: %d Expected: %d", meas, period);
+ printf("TA6 - Actual: %" PRIdrtems_interval " Expected: %" PRIdrtems_interval, meas, period);
if (period == meas) printf(" - OK\n");
else printf(" - FAILED\n");
}
diff --git a/testsuites/sptests/sp32/init.c b/testsuites/sptests/sp32/init.c
index 083f76b055..d7df18c859 100644
--- a/testsuites/sptests/sp32/init.c
+++ b/testsuites/sptests/sp32/init.c
@@ -73,7 +73,7 @@ rtems_task Init(
/* tabulate and print results */
for (loopy = 0; loopy < 5; loopy++) {
printf(
- "period %d: measured %d tick(s), wanted %d\n",
+ "period %d: measured %" PRIdrtems_interval " tick(s), wanted %" PRIdrtems_interval "\n",
loopy, timestamps[loopy+1] - timestamps[loopy],
wantintervals[loopy]
);
diff --git a/testsuites/sptests/spclockget/init.c b/testsuites/sptests/spclockget/init.c
index 980e7d60a9..2d56f6349b 100644
--- a/testsuites/sptests/spclockget/init.c
+++ b/testsuites/sptests/spclockget/init.c
@@ -33,15 +33,15 @@ rtems_task Init(
sc = rtems_clock_get( RTEMS_CLOCK_GET_SECONDS_SINCE_EPOCH, &interval );
directive_failed( sc, "rtems_clock_get -- Seconds Since Epoch" );
- printf( "Init - rtems_clock_get - Seconds Since Epoch = %d\n", interval );
+ printf( "Init - rtems_clock_get - Seconds Since Epoch = %" PRIdrtems_interval "\n", interval );
sc = rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &interval );
directive_failed( sc, "rtems_clock_get -- Ticks Since Boot" );
- printf( "Init - rtems_clock_get - Ticks Since Boot = %d\n", interval );
+ printf( "Init - rtems_clock_get - Ticks Since Boot = %" PRIdrtems_interval "\n", interval );
sc = rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &interval );
directive_failed( sc, "rtems_clock_get -- Ticks Per Second" );
- printf( "Init - rtems_clock_get - Ticks Per Second = %d\n", interval );
+ printf( "Init - rtems_clock_get - Ticks Per Second = %" PRIdrtems_interval "\n", interval );
sc = rtems_clock_get( RTEMS_CLOCK_GET_TIME_VALUE, &timev );
directive_failed( sc, "rtems_clock_get -- Time Value" );