diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-03-16 20:56:16 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-03-16 20:56:16 +0000 |
commit | 20caed58266ef751b064092b7925dd0ae32fee9d (patch) | |
tree | c1f164bc96842ab5e5e303e180c7f74193510556 /usr.bin/ssh/channels.c | |
parent | 8f373440e0f4ccbdc8c3653bc0273a9ac8cd0ae5 (diff) |
-pedantic: signed vs. unsigned, void*-arithm, etc
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index b40e965d8a2..62b6a226953 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -16,7 +16,7 @@ */ #include "includes.h" -RCSID("$Id: channels.c,v 1.38 2000/01/24 20:37:29 markus Exp $"); +RCSID("$Id: channels.c,v 1.39 2000/03/16 20:56:14 markus Exp $"); #include "ssh.h" #include "packet.h" @@ -1037,7 +1037,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; @@ -1284,7 +1284,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; |