diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 05:04:36 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 05:04:36 +0200 |
commit | 71a73671305a2248a6c4a243134ebf28f7d8ee7a (patch) | |
tree | c81a7c7ae47bfc385a42cf4f86a9df3af7eeda3e /channels.c | |
parent | - deraadt@cvs.openbsd.org 2006/03/20 17:17:23 (diff) | |
download | openssh-71a73671305a2248a6c4a243134ebf28f7d8ee7a.tar.xz openssh-71a73671305a2248a6c4a243134ebf28f7d8ee7a.zip |
- deraadt@cvs.openbsd.org 2006/03/20 18:14:02
[channels.c clientloop.c monitor_wrap.c monitor_wrap.h serverloop.c]
[ssh.c sshpty.c sshpty.h]
sprinkle u_int throughout pty subsystem, ok markus
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels.c b/channels.c index ce868dc4e..6cb88ad44 100644 --- a/channels.c +++ b/channels.c @@ -2737,10 +2737,10 @@ channel_send_window_changes(void) if (ioctl(channels[i]->rfd, TIOCGWINSZ, &ws) < 0) continue; channel_request_start(i, "window-change", 0); - packet_put_int(ws.ws_col); - packet_put_int(ws.ws_row); - packet_put_int(ws.ws_xpixel); - packet_put_int(ws.ws_ypixel); + packet_put_int((u_int)ws.ws_col); + packet_put_int((u_int)ws.ws_row); + packet_put_int((u_int)ws.ws_xpixel); + packet_put_int((u_int)ws.ws_ypixel); packet_send(); } } |