mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 21:44:05 +08:00
Use %zu instead of %d to print size_t's.
This commit is contained in:
@@ -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++ ) {
|
||||
|
||||
Reference in New Issue
Block a user