Use %zu instead of %d to print size_t's.

This commit is contained in:
Ralf Corsepius
2009-10-26 13:35:06 +00:00
parent 75c13bef5f
commit b3b09bccbc
+1 -1
View File
@@ -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++ ) {