summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acl.c b/src/acl.c
index ffb73f4..cf7f747 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -347,7 +347,7 @@ check_acl (int fd, const char *ip, const char *host)
if (!access_list)
return 1;
- for (i = 0; i != vector_length (access_list); ++i)
+ for (i = 0; i != (size_t)vector_length (access_list); ++i)
{
acl = vector_getentry (access_list, i, NULL);
switch (acl->type)