diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 16:23:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-05-27 16:23:04 +0000 |
commit | 9813fb6e1a8777cbc452de7be853f773c11fec45 (patch) | |
tree | 2137834f65e6a026337b8ec66459e416ddd7fc45 /cpukit | |
parent | 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9813fb6e1a8777cbc452de7be853f773c11fec45.tar.bz2 |
2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_eval.c:
Use size_t instead of int for pathnamelen.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos.h | 2 | ||||
-rw-r--r-- | 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 <ralf.corsepius@rtems.org> + * 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 ) |