]> granicus.if.org Git - apache/commitdiff
* modules/ldap/util_ldap_cache_mgr.c (util_ald_cache_insert,
authorJoe Orton <jorton@apache.org>
Thu, 28 Jul 2005 10:52:52 +0000 (10:52 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 28 Jul 2005 10:52:52 +0000 (10:52 +0000)
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

modules/ldap/util_ldap_cache_mgr.c

index 794b2f50c3df0ae20bb7b7d0712bd2e335a7a865..83a2655982b06f78a07ffc1bd79f2928b3fe7561 100644 (file)
@@ -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)