summaryrefslogtreecommitdiffhomepage
path: root/src/acl.c
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2008-08-24 10:58:16 +0530
committerMukund Sivaraman <muks@banu.com>2008-08-24 10:58:16 +0530
commit62ddbd5e7491c4a751f0a4523b1d9d7acaeba9dd (patch)
tree6dc1d889a5a0318ad0632da3518a7ea342d8474f /src/acl.c
parent90c1bb4b738dadc78867dcaec45993fc26a15233 (diff)
pos can never be less than 0 as it's of type size_t
Also fix the type which is passed in from various places.
Diffstat (limited to 'src/acl.c')
-rw-r--r--src/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acl.c b/src/acl.c
index eb200b3..d61ccf3 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -309,7 +309,7 @@ check_acl(int fd, const char *ip, const char *host)
{
struct acl_s *acl;
int perm;
- int i;
+ size_t i;
assert(fd >= 0);
assert(ip != NULL);