From 4665f32fc51e1fcb8faf6a4ee309edbf9dc7e1fe Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 27 May 2010 16:36:02 +0000 Subject: =?UTF-8?q?2010-05-27=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c: Use size_t instead of int for pathnamelen. --- cpukit/libnetworking/lib/ftpfs.c | 2 +- cpukit/libnetworking/lib/tftpDriver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libnetworking') 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 */ ) -- cgit v1.2.3