diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-20 18:14:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-20 18:14:03 +0000 |
commit | de676a36f92400fab1781e0d9762cd1b7cdeab92 (patch) | |
tree | f6cb300fd10de8d50b04b4b9067537ce57d34b38 /usr.bin/ssh/ssh.c | |
parent | fbf2d7c22ba18d34a0d6b63cfcde9ddcca2be2fc (diff) |
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); |