diff options
Diffstat (limited to 'libc/termios/ttyname.c')
-rw-r--r-- | libc/termios/ttyname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/termios/ttyname.c b/libc/termios/ttyname.c index 5a5d2a225..aa796c892 100644 --- a/libc/termios/ttyname.c +++ b/libc/termios/ttyname.c @@ -47,7 +47,7 @@ int attribute_hidden __ttyname_r(int fd, char *ubuf, size_t ubuflen) char *s; DIR *fp; int rv; - int len; + size_t len; char buf[TTYNAME_BUFLEN]; if (fstat(fd, &st) < 0) { |