diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 13:35:06 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-10-26 13:35:06 +0000 |
commit | b3b09bccbc78d84930e9133a96029090941c31c7 (patch) | |
tree | ff9f4cc95927974a3741ad7c43dd39add8b6f765 /testsuites/libtests | |
parent | 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b3b09bccbc78d84930e9133a96029090941c31c7.tar.bz2 |
Use %zu instead of %d to print size_t's.
Diffstat (limited to 'testsuites/libtests')
-rw-r--r-- | testsuites/libtests/malloctest/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/malloctest/init.c b/testsuites/libtests/malloctest/init.c index 7a2977d5f0..47f1bf62dd 100644 --- a/testsuites/libtests/malloctest/init.c +++ b/testsuites/libtests/malloctest/init.c @@ -1032,7 +1032,7 @@ static void test_posix_memalign(void) else if ( sizeof(int) == 2 ) maximumShift = 15; else { - printf( "Unsupported int size == %d\n", sizeof(int) ); + printf( "Unsupported int size == %zu\n", sizeof(int) ); rtems_test_exit(0); } for ( i=2 ; i<maximumShift ; i++ ) { |