From 734e6f6fb3cc669e04692d6cb1d07c425a158eda Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 24 Sep 2008 08:52:49 +0000 Subject: =?UTF-8?q?2008-09-24=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix comparision of unsigned < 0). --- cpukit/ChangeLog | 5 +++++ cpukit/libnetworking/lib/ftpfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * libnetworking/lib/ftpfs.c: Use ssize_t for read retval (Fix + comparision of unsigned < 0). + 2008-09-23 Eric Norum * 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 { -- cgit v1.2.3