summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxreaddir/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxreaddir/test.c')
-rw-r--r--testsuites/psxtests/psxreaddir/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c
index 39b4461d2c..972fab9a64 100644
--- a/testsuites/psxtests/psxreaddir/test.c
+++ b/testsuites/psxtests/psxreaddir/test.c
@@ -417,7 +417,8 @@ int main(
printf( "\nSeek directory\n" );
printf( "telldir() should report only sizeof(struct dirent) increments \n" );
- printf( "in position. Sizeof(struct dirent): %d\n", sizeof(struct dirent) );
+ printf( "in position. Sizeof(struct dirent): %ld\n",
+ (unsigned long) sizeof(struct dirent) );
rewinddir( directory );
for( off=0 ; off<=200 ; off=off + sizeof(struct dirent) / 4 ) {
seekdir( directory, off );