summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;