From d23649d2c3129b2f73a9100b36cece29009d4e80 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 27 Oct 2009 04:03:41 +0000 Subject: Use PRIu32 to print uint32_t's. --- testsuites/sptests/sp63/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp63') diff --git a/testsuites/sptests/sp63/init.c b/testsuites/sptests/sp63/init.c index a6b228034f..798c038d77 100644 --- a/testsuites/sptests/sp63/init.c +++ b/testsuites/sptests/sp63/init.c @@ -29,7 +29,7 @@ void test_case_one(void) puts( "Init - _Heap_Initialize (for test one) - OK" ); heap_size = _Heap_Initialize( &Heap, Memory, sizeof(Memory), 8 ); - printf( "Init - Heap size=%d\n", heap_size ); + printf( "Init - Heap size=%" PRIu32 "\n", heap_size ); assert( heap_size ); puts( "Init - _Heap_Allocate - too large size (overflow)- not OK"); @@ -59,7 +59,7 @@ void test_case_two(void) puts( "\nInit - _Heap_Initialize (for test two) - OK" ); heap_size = _Heap_Initialize( &Heap, Memory, sizeof(Memory), 8 ); - printf( "Init - Heap size=%d\n", heap_size ); + printf( "Init - Heap size=%" PRIu32 "\n", heap_size ); assert( heap_size ); puts( "Init - _Heap_Allocate_aligned - OK"); -- cgit v1.2.3