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.
This commit is contained in:
Ralf Corsepius
2010-05-27 16:36:02 +00:00
parent ef5da325ad
commit 4665f32fc5
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -1,5 +1,7 @@
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.
* libfs/src/rfs/rtems-rfs-rtems.c:
Use size_t instead of int for pathlen.
Use %zi to print pathlen.
+1 -1
View File
@@ -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
)
+1 -1
View File
@@ -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 */
)