]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
C typecast of hash_lookup
authorhno <>
Fri, 15 Nov 2002 21:54:50 +0000 (21:54 +0000)
committerhno <>
Fri, 15 Nov 2002 21:54:50 +0000 (21:54 +0000)
src/external_acl.cc

index 0e049a3be4ea6df7c514a37cf4380a05a9922925..982d179d1a0b0c694f8eb96d1b5bafed3ff6929e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: external_acl.cc,v 1.18 2002/11/15 13:27:58 hno Exp $
+ * $Id: external_acl.cc,v 1.19 2002/11/15 14:54:50 hno Exp $
  *
  * DEBUG: section 82    External ACL
  * AUTHOR: Henrik Nordstrom, MARA Systems AB
@@ -712,7 +712,7 @@ externalAclHandleReply(void *data, char *reply)
        if (reply)
            entry = external_acl_cache_add(state->def, state->key, result, user, error);
        else {
-           entry = hash_lookup(state->def->cache, state->key);
+           entry = (external_acl_entry *)hash_lookup(state->def->cache, state->key);
            if (entry)
                external_acl_cache_delete(state->def, entry);
        }