diff options
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) | |||
2737 | if (ioctl(channels[i]->rfd, TIOCGWINSZ, &ws) < 0) | 2737 | if (ioctl(channels[i]->rfd, TIOCGWINSZ, &ws) < 0) |
2738 | continue; | 2738 | continue; |
2739 | channel_request_start(i, "window-change", 0); | 2739 | channel_request_start(i, "window-change", 0); |
2740 | packet_put_int(ws.ws_col); | 2740 | packet_put_int((u_int)ws.ws_col); |
2741 | packet_put_int(ws.ws_row); | 2741 | packet_put_int((u_int)ws.ws_row); |
2742 | packet_put_int(ws.ws_xpixel); | 2742 | packet_put_int((u_int)ws.ws_xpixel); |
2743 | packet_put_int(ws.ws_ypixel); | 2743 | packet_put_int((u_int)ws.ws_ypixel); |
2744 | packet_send(); | 2744 | packet_send(); |
2745 | } | 2745 | } |
2746 | } | 2746 | } |