summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-05-27 16:36:02 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-05-27 16:36:02 +0000
commit4665f32fc51e1fcb8faf6a4ee309edbf9dc7e1fe (patch)
tree4f9d31f233f2fd0deace8c34794955fb9d0b2d5c /cpukit/libnetworking
parent2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4665f32fc51e1fcb8faf6a4ee309edbf9dc7e1fe.tar.bz2
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c: Use size_t instead of int for pathnamelen.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/lib/ftpfs.c2
-rw-r--r--cpukit/libnetworking/lib/tftpDriver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c
index 3bd499b1f8..fb7b0d32b2 100644
--- a/cpukit/libnetworking/lib/ftpfs.c
+++ b/cpukit/libnetworking/lib/ftpfs.c
@@ -1196,7 +1196,7 @@ static int rtems_ftpfs_ftruncate(rtems_libio_t *iop, rtems_off64_t count)
static int rtems_ftpfs_eval_path(
const char *pathname,
- int pathnamelen,
+ size_t pathnamelen,
int flags,
rtems_filesystem_location_info_t *pathloc
)
diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c
index 785faf29b3..c8740ce21a 100644
--- a/cpukit/libnetworking/lib/tftpDriver.c
+++ b/cpukit/libnetworking/lib/tftpDriver.c
@@ -488,7 +488,7 @@ fixPath (char *path)
static int rtems_tftp_eval_path(
const char *pathname, /* IN */
- int pathnamelen, /* IN */
+ size_t pathnamelen, /* IN */
int flags, /* IN */
rtems_filesystem_location_info_t *pathloc /* IN/OUT */
)