fix sign-compare issues
This commit is contained in:
parent
f143270c8d
commit
10e84421a8
|
@ -37,7 +37,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)id.c 8.3 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: id.c,v 1.30 2008/07/21 14:19:23 lukem Exp $");
|
||||
__RCSID("$NetBSD: id.c,v 1.31 2009/04/12 10:51:38 lukem Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -291,7 +291,8 @@ static void
|
|||
group(struct passwd *pw, int nflag)
|
||||
{
|
||||
struct group *gr;
|
||||
int cnt, id, lastid, ngroups;
|
||||
int cnt, ngroups;
|
||||
gid_t id, lastid;
|
||||
const char *fmt;
|
||||
gid_t *glist = groups;
|
||||
|
||||
|
|
Loading…
Reference in New Issue