You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/07/28 12:52:54 UTC

svn commit: r225749 - /httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c

Author: jorton
Date: Thu Jul 28 03:52:52 2005
New Revision: 225749

URL: http://svn.apache.org/viewcvs?rev=225749&view=rev
Log:
* 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.

Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c?rev=225749&r1=225748&r2=225749&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap_cache_mgr.c Thu Jul 28 03:52:52 2005
@@ -356,7 +356,7 @@
 
 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_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_remove(util_ald_cache_t *cache, void *payload)
 {
-    int hashval;
+    unsigned long hashval;
     util_cache_node_t *p, *q;
   
     if (cache == NULL)