From a514e785c5fcd9132292916c307ab6587a9cfd31 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 26 Apr 2005 23:37:05 +0000 Subject: 2005-04-26 Joel Sherrill * psxreaddir/test.c: Eliminate warnings. --- testsuites/psxtests/ChangeLog | 4 ++++ testsuites/psxtests/psxreaddir/test.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 7ef87ed0fb..c43c075797 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2005-04-26 Joel Sherrill + + * psxreaddir/test.c: Eliminate warnings. + 2004-09-24 Ralf Corsepius * configure.ac: Require automake > 1.9. 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 ); -- cgit v1.2.3