httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r454807 - /httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c
Date Tue, 10 Oct 2006 16:20:31 GMT
Author: pquerna
Date: Tue Oct 10 09:20:30 2006
New Revision: 454807

URL: http://svn.apache.org/viewvc?view=rev&rev=454807
Log:
Fix signed warnings with apr_hash_this()

Modified:
    httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c

Modified: httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c
URL: http://svn.apache.org/viewvc/httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c?view=diff&rev=454807&r1=454806&r2=454807
==============================================================================
--- httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c (original)
+++ httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c Tue Oct 10 09:20:30 2006
@@ -251,7 +251,7 @@
 {
     apr_hash_index_t *hashIndex;
     void *hashKey, *hashVal;
-    apr_size_t hashLen;
+    apr_ssize_t hashLen;
 
     for (hashIndex = apr_hash_first(p, h); hashIndex;
          hashIndex = apr_hash_next(hashIndex))
@@ -317,7 +317,8 @@
     void *hashKey, *hashVal, *subjectVal;
     char *subject;
     int msgIDLen, refLen, i;
-    apr_size_t hashLen, subjectLen;
+    apr_ssize_t hashLen;
+    apr_size_t subjectLen;
 
     /* FIXME: Use APR_HASH_KEY_STRING instead?  Maybe slower. */
     h = apr_hash_make(p);



Mime
View raw message