fix -Wsign-compare issues
This commit is contained in:
parent
c5c9311d80
commit
fb103c5334
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: identd.c,v 1.31 2006/09/29 17:02:04 christos Exp $ */
|
||||
/* $NetBSD: identd.c,v 1.32 2009/01/18 00:37:53 lukem Exp $ */
|
||||
|
||||
/*
|
||||
* identd.c - TCP/IP Ident protocol server.
|
||||
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__RCSID("$NetBSD: identd.c,v 1.31 2006/09/29 17:02:04 christos Exp $");
|
||||
__RCSID("$NetBSD: identd.c,v 1.32 2009/01/18 00:37:53 lukem Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
@ -325,7 +325,7 @@ idhandle(int fd, const char *charset, const char *fmt, const char *osname,
|
||||
socklen_t len;
|
||||
uid_t uid;
|
||||
ssize_t n;
|
||||
ssize_t qlen;
|
||||
size_t qlen;
|
||||
|
||||
lport = fport = 0;
|
||||
|
||||
@ -672,7 +672,8 @@ sysctl_proxy_getuid(struct sockaddr_storage *ss, struct sockaddr *proxy,
|
||||
uid_t *uid)
|
||||
{
|
||||
struct sockaddr_storage new[2];
|
||||
int i, rc, name[CTL_MAXNAME];
|
||||
int rc, name[CTL_MAXNAME];
|
||||
size_t i;
|
||||
struct kinfo_pcb *kp;
|
||||
size_t sz, len;
|
||||
const char *list;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rsh.c,v 1.30 2008/07/21 14:19:25 lukem Exp $ */
|
||||
/* $NetBSD: rsh.c,v 1.31 2009/01/18 00:42:35 lukem Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1983, 1990, 1993, 1994
|
||||
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1990, 1993, 1994\
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)rsh.c 8.4 (Berkeley) 4/29/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: rsh.c,v 1.30 2008/07/21 14:19:25 lukem Exp $");
|
||||
__RCSID("$NetBSD: rsh.c,v 1.31 2009/01/18 00:42:35 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -99,7 +99,8 @@ main(int argc, char **argv)
|
||||
#ifdef IN_RCMD
|
||||
char *locuser = 0, *loop;
|
||||
#endif /* IN_RCMD */
|
||||
int argoff, asrsh, ch, dflag, nflag, one, rem, i;
|
||||
int argoff, asrsh, ch, dflag, nflag, one, rem;
|
||||
size_t i;
|
||||
int family = AF_UNSPEC;
|
||||
pid_t pid;
|
||||
uid_t uid;
|
||||
|
Loading…
Reference in New Issue
Block a user