summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-08-27 14:09:34 -0500
committerJoel Sherrill <joel@rtems.org>2017-08-27 14:09:34 -0500
commit37f0023fde91cabd6da3d8dba582f8d3fd817241 (patch)
tree5ce7054ba67e17f7c8dbed04c603751c5d117096 /testsuites
parentInclude missing <limits.h> (diff)
downloadrtems-37f0023fde91cabd6da3d8dba582f8d3fd817241.tar.bz2
spstkalloc02/init.c: Fix printf() format warnings
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/spstkalloc02/init.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/sptests/spstkalloc02/init.c b/testsuites/sptests/spstkalloc02/init.c
index ff0351ac13..ae78b41480 100644
--- a/testsuites/sptests/spstkalloc02/init.c
+++ b/testsuites/sptests/spstkalloc02/init.c
@@ -52,12 +52,12 @@ static void print_info(void)
_Heap_Get_information(&task_stack_heap, &info);
printf(
- "used blocks = %" PRIu32 ", "
- "largest used block = %" PRIu32 ", "
- "used space = %" PRIu32 "\n"
- "free blocks = %" PRIu32 ", "
- "largest free block = %" PRIu32 ", "
- "free space = %" PRIu32 "\n",
+ "used blocks = %" PRIuPTR ", "
+ "largest used block = %" PRIuPTR ", "
+ "used space = %" PRIuPTR "\n"
+ "free blocks = %" PRIuPTR ", "
+ "largest free block = %" PRIuPTR ", "
+ "free space = %" PRIuPTR "\n",
info.Used.number,
info.Used.largest,
info.Used.total,