check_acl(): add explicit cast to return value of vector_getentry()

to reduce compiler warnings.

Michael
This commit is contained in:
Michael Adam 2009-08-04 14:33:04 +02:00
parent b9f2325c54
commit 0abd82b7e9

View File

@ -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: