mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-27 03:00:39 +08:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -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 */
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user