From: Joe Orton Date: Thu, 28 Jul 2005 10:52:52 +0000 (+0000) Subject: * modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert, X-Git-Tag: 2.1.7~5^2~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bf62178e5d45c4b78cb09e438fc2a5c3626d641;p=apache * modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert, util_ald_cache_remove, util_ald_cache_fetch): Always use "unsigned long" for hash values, for consistency. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@225749 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ldap/util_ldap_cache_mgr.c b/modules/ldap/util_ldap_cache_mgr.c index 794b2f50c3..83a2655982 100644 --- a/modules/ldap/util_ldap_cache_mgr.c +++ b/modules/ldap/util_ldap_cache_mgr.c @@ -356,7 +356,7 @@ void util_ald_destroy_cache(util_ald_cache_t *cache) void *util_ald_cache_fetch(util_ald_cache_t *cache, void *payload) { - int hashval; + unsigned long hashval; util_cache_node_t *p; if (cache == NULL) @@ -384,7 +384,7 @@ void *util_ald_cache_fetch(util_ald_cache_t *cache, void *payload) */ void *util_ald_cache_insert(util_ald_cache_t *cache, void *payload) { - int hashval; + unsigned long hashval; util_cache_node_t *node; /* sanity check */ @@ -433,7 +433,7 @@ void *util_ald_cache_insert(util_ald_cache_t *cache, void *payload) void util_ald_cache_remove(util_ald_cache_t *cache, void *payload) { - int hashval; + unsigned long hashval; util_cache_node_t *p, *q; if (cache == NULL)