about summary refs log tree commit diff
path: root/posix/tst-preadwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-preadwrite.c')
-rw-r--r--posix/tst-preadwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-preadwrite.c b/posix/tst-preadwrite.c
index 8227a8205b..2810448583 100644
--- a/posix/tst-preadwrite.c
+++ b/posix/tst-preadwrite.c
@@ -53,7 +53,7 @@ int fd;
 void
 do_prepare (int argc, char *argv[])
 {
-   size_t name_len;
+   char name_len;
 
 #define FNAME FNAME2(TRUNCATE)
 #define FNAME2(s) "/" STRINGIFY(s) "XXXXXX"