summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-05 13:15:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-05 13:15:04 +0000
commit52137b7641609a426b07a28d9120e479d93709c7 (patch)
tree39975b075a635e81c485e26a63b58d5983fde545 /testsuites
parentupdated Changelog (diff)
downloadrtems-52137b7641609a426b07a28d9120e479d93709c7.tar.bz2
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: Change from int to size_t.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/psxtests/ChangeLog4
-rw-r--r--testsuites/psxtests/psxfile01/test.c4
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 {