aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-truncate.c')
-rw-r--r--posix/tst-truncate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-truncate.c b/posix/tst-truncate.c
index d786306409..78a5139477 100644
--- a/posix/tst-truncate.c
+++ b/posix/tst-truncate.c
@@ -54,7 +54,7 @@ int fd;
void
do_prepare (int argc, char *argv[])
{
- char name_len;
+ size_t name_len;
#define FNAME FNAME2(TRUNCATE)
#define FNAME2(s) "/" STRINGIFY(s) "XXXXXX"