about summary refs log tree commit diff
path: root/posix/tst-spawn.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-spawn.c')
-rw-r--r--posix/tst-spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-spawn.c b/posix/tst-spawn.c
index 745f64d3ba..4b5d894235 100644
--- a/posix/tst-spawn.c
+++ b/posix/tst-spawn.c
@@ -61,7 +61,7 @@ static const char fd3string[] = "This file will be opened";
 void
 do_prepare (int argc, char *argv[])
 {
-   char name_len;
+   size_t name_len;
 
    name_len = strlen (test_dir);
    name1 = (char *) malloc (name_len + sizeof ("/spawnXXXXXX"));