summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgoodwin <tgoodwin>1998-02-11 15:44:57 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:03 +0100
commit2184e03bc66a77d9ead42730d51c22b942e7848e (patch)
treeee0e7cd6ae3db06b3c390fa0b66bb38b8034f63f
parente438ef1167232d1f863aafc078be47e99574c344 (diff)
an array of `gid_t's is not indexed by gid_t, bozo
-rw-r--r--which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/which.c b/which.c
index 2f09766..e9ec44c 100644
--- a/which.c
+++ b/which.c
@@ -32,7 +32,7 @@ static GETGROUPS_T *gidset;
/* determine whether gid lies in gidset */
static int ingidset(gid_t g) {
- gid_t i;
+ int i;
for (i = 0; i < ngroups; ++i)
if (g == gidset[i])
return 1;