summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/channels.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-03-20 18:14:02 +0000
committerderaadt <deraadt@openbsd.org>2006-03-20 18:14:02 +0000
commit39b7de2da600432479e8bb33cfda38e86c7f59a7 (patch)
tree60f0172c7c669551b3f6a9bc6cd95624138b391f /usr.bin/ssh/channels.c
parentmake `rcs -a' use cvs_strsplit() for easiness; OK joris@. (diff)
downloadwireguard-openbsd-39b7de2da600432479e8bb33cfda38e86c7f59a7.tar.xz
wireguard-openbsd-39b7de2da600432479e8bb33cfda38e86c7f59a7.zip
sprinkle u_int throughout pty subsystem, ok markus
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r--usr.bin/ssh/channels.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c
index e0945b1fa24..c87695c7dd7 100644
--- a/usr.bin/ssh/channels.c
+++ b/usr.bin/ssh/channels.c
@@ -2725,10 +2725,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();
}
}