about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/test-lfs.c2
-rw-r--r--io/tst-fcntl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/io/test-lfs.c b/io/test-lfs.c
index a4669c3984..c27af408eb 100644
--- a/io/test-lfs.c
+++ b/io/test-lfs.c
@@ -50,7 +50,7 @@ int fd;
 void
 do_prepare (int argc, char *argv[])
 {
-  char name_len;
+  size_t name_len;
   struct rlimit64 rlim;
 
   name_len = strlen (test_dir);
diff --git a/io/tst-fcntl.c b/io/tst-fcntl.c
index fed884913c..93ea9b0b02 100644
--- a/io/tst-fcntl.c
+++ b/io/tst-fcntl.c
@@ -42,7 +42,7 @@ static char *name;
 void
 do_prepare (int argc, char *argv[])
 {
-   char name_len;
+   size_t name_len;
 
    name_len = strlen (test_dir);
    name = malloc (name_len + sizeof ("/fcntlXXXXXX"));