check_acl(): add explicit cast to return value of vector_getentry()
to reduce compiler warnings. Michael
This commit is contained in:
parent
b9f2325c54
commit
0abd82b7e9
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user