From 9813fb6e1a8777cbc452de7be853f773c11fec45 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 27 May 2010 16:23:04 +0000 Subject: [PATCH] =?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 * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c: Use size_t instead of int for pathnamelen. --- cpukit/ChangeLog | 4 +++- cpukit/libfs/src/dosfs/msdos.h | 2 +- cpukit/libfs/src/dosfs/msdos_eval.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 62935c2411..c948ae2cb7 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,7 +1,9 @@ 2010-05-27 Ralf Corsépius + * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c: + Use size_t instead of int for pathnamelen. * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c: - Use size_t instead of int for pathlen. + Use size_t instead of int for pathnamelen. * libfs/src/nfsclient/src/nfs.c: Use uint32_t instead of u_int_t for readarg and writearg. diff --git a/cpukit/libfs/src/dosfs/msdos.h b/cpukit/libfs/src/dosfs/msdos.h index acbea3161e..53c0e7340f 100644 --- a/cpukit/libfs/src/dosfs/msdos.h +++ b/cpukit/libfs/src/dosfs/msdos.h @@ -229,7 +229,7 @@ int msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry); int msdos_eval_path( const char *pathname, /* IN */ - int pathnamelen, /* IN */ + size_t pathnamelen, /* IN */ int flags, /* IN */ rtems_filesystem_location_info_t *pathloc /* IN/OUT */ ); diff --git a/cpukit/libfs/src/dosfs/msdos_eval.c b/cpukit/libfs/src/dosfs/msdos_eval.c index b216af4d18..b1776ad730 100644 --- a/cpukit/libfs/src/dosfs/msdos_eval.c +++ b/cpukit/libfs/src/dosfs/msdos_eval.c @@ -72,7 +72,7 @@ msdos_set_handlers(rtems_filesystem_location_info_t *loc) int msdos_eval_path( const char *pathname, - int pathnamelen, + size_t pathnamelen, int flags, rtems_filesystem_location_info_t *pathloc )