summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-26 14:04:36 +1100
committerDamien Miller <djm@mindrot.org>2006-03-26 14:04:36 +1100
commit71a73671305a2248a6c4a243134ebf28f7d8ee7a (patch)
treec81a7c7ae47bfc385a42cf4f86a9df3af7eeda3e /clientloop.c
parent6d39bcf898f2cf296333590330a2d945f2f123a4 (diff)
- 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 'clientloop.c')
-rw-r--r--clientloop.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/clientloop.c b/clientloop.c
index d321cb8bf..36a4a64ae 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -434,10 +434,10 @@ client_check_window_change(void)
434 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) 434 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0)
435 return; 435 return;
436 packet_start(SSH_CMSG_WINDOW_SIZE); 436 packet_start(SSH_CMSG_WINDOW_SIZE);
437 packet_put_int(ws.ws_row); 437 packet_put_int((u_int)ws.ws_row);
438 packet_put_int(ws.ws_col); 438 packet_put_int((u_int)ws.ws_col);
439 packet_put_int(ws.ws_xpixel); 439 packet_put_int((u_int)ws.ws_xpixel);
440 packet_put_int(ws.ws_ypixel); 440 packet_put_int((u_int)ws.ws_ypixel);
441 packet_send(); 441 packet_send();
442 } 442 }
443} 443}
@@ -1881,10 +1881,10 @@ client_session2_setup(int id, int want_tty, int want_subsystem,
1881 1881
1882 channel_request_start(id, "pty-req", 0); 1882 channel_request_start(id, "pty-req", 0);
1883 packet_put_cstring(term != NULL ? term : ""); 1883 packet_put_cstring(term != NULL ? term : "");
1884 packet_put_int(ws.ws_col); 1884 packet_put_int((u_int)ws.ws_col);
1885 packet_put_int(ws.ws_row); 1885 packet_put_int((u_int)ws.ws_row);
1886 packet_put_int(ws.ws_xpixel); 1886 packet_put_int((u_int)ws.ws_xpixel);
1887 packet_put_int(ws.ws_ypixel); 1887 packet_put_int((u_int)ws.ws_ypixel);
1888 tio = get_saved_tio(); 1888 tio = get_saved_tio();
1889 tty_make_modes(-1, tiop != NULL ? tiop : &tio); 1889 tty_make_modes(-1, tiop != NULL ? tiop : &tio);
1890 packet_send(); 1890 packet_send();