diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-04-26 23:37:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-04-26 23:37:05 +0000 |
commit | a514e785c5fcd9132292916c307ab6587a9cfd31 (patch) | |
tree | 5e302ea89a1046b426cc28456a73bea411d8e0e2 /testsuites/psxtests | |
parent | 2005-04-26 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-a514e785c5fcd9132292916c307ab6587a9cfd31.tar.bz2 |
2005-04-26 Joel Sherrill <joel@OARcorp.com>
* psxreaddir/test.c: Eliminate warnings.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psxreaddir/test.c | 3 |
2 files changed, 6 insertions, 1 deletions
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 <joel@OARcorp.com> + + * psxreaddir/test.c: Eliminate warnings. + 2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org> * 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 ); |