diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:33:04 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:27 +0200 |
commit | 0abd82b7e9bde29c46b697f8f5357fcc5a404c59 (patch) | |
tree | c12203ab405d9052be6b9f5c3f91fca162e1fa71 /src | |
parent | b9f2325c54613e33623c377d590084091c61352d (diff) | |
download | tinyproxy-0abd82b7e9bde29c46b697f8f5357fcc5a404c59.tar.gz tinyproxy-0abd82b7e9bde29c46b697f8f5357fcc5a404c59.zip |
check_acl(): add explicit cast to return value of vector_getentry()
to reduce compiler warnings.
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |