diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-24 08:52:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-24 08:52:49 +0000 |
commit | 734e6f6fb3cc669e04692d6cb1d07c425a158eda (patch) | |
tree | c55003513c0af4aad510ac8b04071c00dd89c46a /cpukit/libnetworking | |
parent | 2008-09-24 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-734e6f6fb3cc669e04692d6cb1d07c425a158eda.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).
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r-- | cpukit/libnetworking/lib/ftpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |