diff options
author | 2004-08-11 21:43:04 +0000 | |
---|---|---|
committer | 2004-08-11 21:43:04 +0000 | |
commit | 6fc9d83bf84fc592dbaf6a048af186d7c49c8552 (patch) | |
tree | ef86505b73436eeb65464f6d3689287630f13aca /usr.bin/ssh/serverloop.c | |
parent | sync (diff) | |
download | wireguard-openbsd-6fc9d83bf84fc592dbaf6a048af186d7c49c8552.tar.xz wireguard-openbsd-6fc9d83bf84fc592dbaf6a048af186d7c49c8552.zip |
some signed/unsigned int comparison cleanups; markus@ ok
Diffstat (limited to 'usr.bin/ssh/serverloop.c')
-rw-r--r-- | usr.bin/ssh/serverloop.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c index a9c8dcbf456..2f66aec692a 100644 --- a/usr.bin/ssh/serverloop.c +++ b/usr.bin/ssh/serverloop.c @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: serverloop.c,v 1.116 2004/05/21 11:33:11 djm Exp $"); +RCSID("$OpenBSD: serverloop.c,v 1.117 2004/08/11 21:43:05 avsm Exp $"); #include "xmalloc.h" #include "packet.h" @@ -238,7 +238,7 @@ client_alive_check(void) */ static void wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp, int *maxfdp, - int *nallocp, u_int max_time_milliseconds) + u_int *nallocp, u_int max_time_milliseconds) { struct timeval tv, *tvp; int ret; @@ -484,7 +484,8 @@ void server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg) { fd_set *readset = NULL, *writeset = NULL; - int max_fd = 0, nalloc = 0; + int max_fd = 0; + u_int nalloc = 0; int wait_status; /* Status returned by wait(). */ pid_t wait_pid; /* pid returned by wait(). */ int waiting_termination = 0; /* Have displayed waiting close message. */ |