summaryrefslogtreecommitdiff
path: root/libc/io
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2006-08-26 21:52:38 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2006-08-26 21:52:38 +0000
commit4dd4fc9653b2a337c37c03816e4f0187e8fe8ff0 (patch)
tree7f08bed907f195f1b016dbdf752c73990e7ee0e8 /libc/io
parenta1965283724f941909d94381d63c37b5a893ef40 (diff)
* io/test-lfs.c (do_prepare): Give name_len type size_t.
* io/tst-fcntl.c (do_prepare): Likewise. * posix/tst-exec.c (do_prepare): Likewise. * posix/tst-preadwrite.c (do_prepare): Likewise. * posix/tst-spawn.c (do_prepare): Likewise. * posix/tst-truncate.c (do_prepare): Likewise. * rt/tst-aio.c (do_prepare): Likewise. * rt/tst-aio64.c (do_prepare): Likewise. * stdlib/test-canon2.c (do_prepare): Give test_dir_len type size_t. git-svn-id: svn://svn.eglibc.org/trunk@101 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/io')
-rw-r--r--libc/io/test-lfs.c2
-rw-r--r--libc/io/tst-fcntl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/io/test-lfs.c b/libc/io/test-lfs.c
index a4669c398..c27af408e 100644
--- a/libc/io/test-lfs.c
+++ b/libc/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/libc/io/tst-fcntl.c b/libc/io/tst-fcntl.c
index fed884913..93ea9b0b0 100644
--- a/libc/io/tst-fcntl.c
+++ b/libc/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"));