You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2006/10/10 18:20:31 UTC
svn commit: r454807 - /httpd/mod_mbox/branches/surgery/libmbox/mbox_thread.c
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);