diff options
Diffstat (limited to 'libiohelp')
| -rw-r--r-- | libiohelp/Makefile | 3 | ||||
| -rw-r--r-- | libiohelp/iouser-restrict.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libiohelp/Makefile b/libiohelp/Makefile index ba73282b..56815c49 100644 --- a/libiohelp/Makefile +++ b/libiohelp/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993, 1994, 1995, 1996, 1998, 2002, 2008 Free Software +# Copyright (C) 1993, 1994, 1995, 1996, 1998, 2002, 2008, 2012 Free Software # Foundation, Inc. # # This program is free software; you can redistribute it and/or @@ -23,7 +23,6 @@ SRCS = get_conch.c handle_io_get_conch.c handle_io_release_conch.c \ iouser-dup.c iouser-reauth.c iouser-free.c iouser-restrict.c \ shared.c return-buffer.c OBJS = $(SRCS:.c=.o) -LCLHDRS = iohelp.h HURDLIBS = threads shouldbeinlibc libname = libiohelp installhdrs = iohelp.h 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 (); |
