summaryrefslogtreecommitdiff
path: root/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attach.c b/attach.c
index e485735..99e101d 100644
--- a/attach.c
+++ b/attach.c
@@ -217,7 +217,7 @@ attach_main(int noerror)
/* Pty activity */
if (n > 0 && FD_ISSET(s, &readfds))
{
- int len = read(s, buf, sizeof(buf));
+ ssize_t len = read(s, buf, sizeof(buf));
if (len == 0)
{