From 37f0023fde91cabd6da3d8dba582f8d3fd817241 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 27 Aug 2017 14:09:34 -0500 Subject: spstkalloc02/init.c: Fix printf() format warnings --- testsuites/sptests/spstkalloc02/init.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'testsuites') 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, -- cgit v1.2.3