diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-24 08:51:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-24 08:51:54 +0000 |
commit | 3469329c3159336116451bd6df3d014d7515bbe6 (patch) | |
tree | 56021eb5a60acec17f87cf495f6c8ea7ee8e3290 | |
parent | 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-3469329c3159336116451bd6df3d014d7515bbe6.tar.bz2 |
2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix
comparision of unsigned < 0).
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libnetworking/lib/ftpfs.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 9f63f88c55..bca3863097 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org> + + * libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix + comparision of unsigned < 0). + 2008-09-23 Eric Norum <norume@aps.anl.gov> * libnetworking/lib/rtems_bsdnet_ntp.c: Let TCP/IP stack pick port diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index 3df0c185e6..1ccf70a7a0 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -232,7 +232,7 @@ int rtems_ftp_get_message { char rd_buffer[4]; size_t rd_size; - size_t tmp_size; + ssize_t tmp_size; int eno = 0; bool finished = false; do { |