From 7684ee17ee96426970c00cb44d9d00b6611b9a57 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 17 Mar 2000 23:40:15 +1100 Subject: - OpenBSD CVS updates: - [atomicio.c auth-krb4.c bufaux.c channels.c compress.c fingerprint.c] [packet.h radix.c rsa.c scp.c ssh-agent.c ssh-keygen.c sshconnect.c] [sshd.c] pedantic: signed vs. unsigned, void*-arithm, etc - [ssh.1 sshd.8] Various cleanups and standardizations. --- channels.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'channels.c') diff --git a/channels.c b/channels.c index 090cbf095..e60ecc614 100644 --- a/channels.c +++ b/channels.c @@ -16,7 +16,7 @@ */ #include "includes.h" -RCSID("$Id: channels.c,v 1.18 2000/03/11 09:45:41 damien Exp $"); +RCSID("$Id: channels.c,v 1.19 2000/03/17 12:40:15 damien Exp $"); #include "ssh.h" #include "packet.h" @@ -1041,7 +1041,7 @@ channel_input_port_open(int payload_len) int remote_channel, sock = 0, newch, i; u_short host_port; char *host, *originator_string; - int host_len, originator_len; + unsigned int host_len, originator_len; struct addrinfo hints, *ai, *aitop; char ntop[NI_MAXHOST], strport[NI_MAXSERV]; int gaierr; @@ -1341,7 +1341,7 @@ x11_input_open(int payload_len) int remote_channel, display_number, sock = 0, newch; const char *display; char buf[1024], *cp, *remote_host; - int remote_len; + unsigned int remote_len; struct addrinfo hints, *ai, *aitop; char strport[NI_MAXSERV]; int gaierr; -- cgit v1.2.3