2005-04-26 Joel Sherrill <joel@OARcorp.com>

* psxreaddir/test.c: Eliminate warnings.
This commit is contained in:
Joel Sherrill
2005-04-26 23:37:05 +00:00
parent c163e3b918
commit a514e785c5
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2005-04-26 Joel Sherrill <joel@OARcorp.com>
* psxreaddir/test.c: Eliminate warnings.
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Require automake > 1.9.

View File

@@ -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 );