Module Name:    src
Committed By:   lukem
Date:           Sun Apr 12 10:51:38 UTC 2009

Modified Files:
        src/usr.bin/id: id.c

Log Message:
fix sign-compare issues


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.bin/id/id.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/id/id.c
diff -u src/usr.bin/id/id.c:1.30 src/usr.bin/id/id.c:1.31
--- src/usr.bin/id/id.c:1.30	Mon Jul 21 14:19:23 2008
+++ src/usr.bin/id/id.c	Sun Apr 12 10:51:38 2009
@@ -37,7 +37,7 @@
 #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 @@
 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;
 

Reply via email to