aboutsummaryrefslogtreecommitdiff
path: root/libiohelp/iouser-restrict.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-07-01 02:20:08 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-07-01 02:20:08 +0000
commit953c525d7589178629f3e91e4bf4ea805a92a5b4 (patch)
tree9411cddbd2f213fe4edf2150e2e8b02a9d27b4bf /libiohelp/iouser-restrict.c
parent13ea39a34766fcbecd96ab94bcdf798b08e9bb60 (diff)
parent5430151902aa7cb17458c0d71722a05fd379babf (diff)
downloadhurd-953c525d7589178629f3e91e4bf4ea805a92a5b4.tar.gz
hurd-953c525d7589178629f3e91e4bf4ea805a92a5b4.tar.bz2
hurd-953c525d7589178629f3e91e4bf4ea805a92a5b4.zip
Merge branch 'master' into xkb
Conflicts: console-client/Makefile
Diffstat (limited to 'libiohelp/iouser-restrict.c')
-rw-r--r--libiohelp/iouser-restrict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiohelp/iouser-restrict.c b/libiohelp/iouser-restrict.c
index 853820ea..184061e1 100644
--- a/libiohelp/iouser-restrict.c
+++ b/libiohelp/iouser-restrict.c
@@ -19,7 +19,7 @@
/* Tell if the array LIST (of size N) contains a member equal to QUERY. */
static inline int
-listmember (const uid_t *list, int query, int n)
+listmember (const uid_t *list, uid_t query, int n)
{
int i;
for (i = 0; i < n; i++)
@@ -40,7 +40,7 @@ iohelp_restrict_iouser (struct iouser **new_user,
else
{
struct idvec *uvec, *gvec;
- int i;
+ unsigned int i;
error_t err;
uvec = make_idvec ();