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/ssh-agent.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/ssh-agent.c')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index bca392f84e8..515dcc972ec 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -35,7 +35,7 @@ #include "includes.h" #include <sys/queue.h> -RCSID("$OpenBSD: ssh-agent.c,v 1.119 2004/06/14 01:44:39 djm Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.120 2004/08/11 21:43:05 avsm Exp $"); #include <openssl/evp.h> #include <openssl/md5.h> @@ -812,7 +812,7 @@ new_socket(sock_type type, int fd) } static int -prepare_select(fd_set **fdrp, fd_set **fdwp, int *fdl, int *nallocp) +prepare_select(fd_set **fdrp, fd_set **fdwp, int *fdl, u_int *nallocp) { u_int i, sz; int n = 0; @@ -998,7 +998,8 @@ int main(int ac, char **av) { int c_flag = 0, d_flag = 0, k_flag = 0, s_flag = 0; - int sock, fd, ch, nalloc; + int sock, fd, ch; + u_int nalloc; char *shell, *format, *pidstr, *agentsocket = NULL; fd_set *readsetp = NULL, *writesetp = NULL; struct sockaddr_un sunaddr; |