From b3b09bccbc78d84930e9133a96029090941c31c7 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Oct 2009 13:35:06 +0000 Subject: Use %zu instead of %d to print size_t's. --- testsuites/libtests/malloctest/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/libtests') 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