summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h4
-rw-r--r--cpukit/libcsupport/src/eval.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index 27609023b5..248357a4ef 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -246,7 +246,7 @@ int rtems_libio_is_file_open(
int rtems_filesystem_evaluate_relative_path(
const char *pathname,
- int pathnamelen,
+ size_t pathnamelen,
int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
@@ -254,7 +254,7 @@ int rtems_filesystem_evaluate_relative_path(
int rtems_filesystem_evaluate_path(
const char *pathname,
- int pathnamelen,
+ size_t pathnamelen,
int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
diff --git a/cpukit/libcsupport/src/eval.c b/cpukit/libcsupport/src/eval.c
index d3ccc7c78d..da7acc45de 100644
--- a/cpukit/libcsupport/src/eval.c
+++ b/cpukit/libcsupport/src/eval.c
@@ -23,13 +23,12 @@
int rtems_filesystem_evaluate_relative_path(
const char *pathname,
- int pathnamelen,
+ size_t pathnamelen,
int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link
)
{
- //int i;
int result;
rtems_filesystem_node_types_t type;
@@ -93,7 +92,7 @@ int rtems_filesystem_evaluate_relative_path(
int rtems_filesystem_evaluate_path(
const char *pathname,
- int pathnamelen,
+ size_t pathnamelen,
int flags,
rtems_filesystem_location_info_t *pathloc,
int follow_link