diff options
| author | Ned T. Crigler <crigler@users.sourceforge.net> | 2012-07-01 21:26:10 +0000 |
|---|---|---|
| committer | Ned T. Crigler <crigler@users.sourceforge.net> | 2012-07-01 21:26:10 +0000 |
| commit | aeb60e6d041cf1995233f5cb6af64fa880200e84 (patch) | |
| tree | 04ef3508e69162990539af576cb43fb85f960ea1 /attach.c | |
| parent | 637bafd129d781516f9b1efbccd326484efecdb3 (diff) | |
Use ssize_t for the return type of read/write instead of int.
Diffstat (limited to 'attach.c')
| -rw-r--r-- | attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
