diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 04:03:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-27 04:03:41 +0000 |
commit | d23649d2c3129b2f73a9100b36cece29009d4e80 (patch) | |
tree | b509c663250924378d7b1bb4d72942b2a28b292c /testsuites/sptests/sp63/init.c | |
parent | 2009-10-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d23649d2c3129b2f73a9100b36cece29009d4e80.tar.bz2 |
Use PRIu32 to print uint32_t's.
Diffstat (limited to 'testsuites/sptests/sp63/init.c')
-rw-r--r-- | testsuites/sptests/sp63/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |