diff options
author | 2006-03-20 18:14:02 +0000 | |
---|---|---|
committer | 2006-03-20 18:14:02 +0000 | |
commit | 39b7de2da600432479e8bb33cfda38e86c7f59a7 (patch) | |
tree | 60f0172c7c669551b3f6a9bc6cd95624138b391f /usr.bin/ssh/ssh.c | |
parent | make `rcs -a' use cvs_strsplit() for easiness; OK joris@. (diff) | |
download | wireguard-openbsd-39b7de2da600432479e8bb33cfda38e86c7f59a7.tar.xz wireguard-openbsd-39b7de2da600432479e8bb33cfda38e86c7f59a7.zip |
sprinkle u_int throughout pty subsystem, ok markus
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index bb99ca77142..dfde62f85c8 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -874,10 +874,10 @@ ssh_session(void) /* Store window size in the packet. */ if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) memset(&ws, 0, sizeof(ws)); - packet_put_int(ws.ws_row); - packet_put_int(ws.ws_col); - packet_put_int(ws.ws_xpixel); - packet_put_int(ws.ws_ypixel); + packet_put_int((u_int)ws.ws_row); + packet_put_int((u_int)ws.ws_col); + packet_put_int((u_int)ws.ws_xpixel); + packet_put_int((u_int)ws.ws_ypixel); /* Store tty modes in the packet. */ tty_make_modes(fileno(stdin), NULL); |