diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c index eba7a692e1..72e6128f9d 100644 --- a/testsuites/psxtests/psxreaddir/test.c +++ b/testsuites/psxtests/psxreaddir/test.c @@ -358,8 +358,7 @@ int main( printf( "\nPerforming stat of directory /\n"); status = stat( "/", &s ); - printf("status for stat : %d, size of directory: %d\n\n", - status,(int)s.st_size); + printf("status for stat : %d, size of directory: %" PRIdoff_t "\n\n", status, s.st_size); puts( "\nOpen and print directory /" ); directory = opendir("/");