diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psxfile01/test.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index d88de46c28..571c1992b5 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com> + + * psxfile01/test.c: Change from int to size_t. + 2009-04-03 Ralf Corsépius <ralf.corsepius@rtems.org> * psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am, diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c index cae6a4b03d..dfc0e364ed 100644 --- a/testsuites/psxtests/psxfile01/test.c +++ b/testsuites/psxtests/psxfile01/test.c @@ -135,7 +135,7 @@ int main( #endif { int status; - int max_size; + size_t max_size; int fd; int i; struct stat buf; @@ -390,7 +390,7 @@ int main( * triply indirect blocks. */ - if ( max_size < 300 * 1024 ) { + if ( max_size < (size_t) 300 * 1024 ) { test_extend( "/tmp/joel", max_size - 1 ); test_cat( "/tmp/joel", max_size / 2, 1024 ); } else { |