diff options
-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 21972c1202..f6851caec1 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 { |