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