httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1490550 - /httpd/httpd/trunk/modules/cache/mod_cache_socache.c
Date Fri, 07 Jun 2013 09:04:32 GMT
Author: fuankg
Date: Fri Jun  7 09:04:32 2013
New Revision: 1490550

URL: http://svn.apache.org/r1490550
Log:
Fixed signed<->unsigned compiler warning.

Modified:
    httpd/httpd/trunk/modules/cache/mod_cache_socache.c

Modified: httpd/httpd/trunk/modules/cache/mod_cache_socache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache_socache.c?rev=1490550&r1=1490549&r2=1490550&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_cache_socache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache_socache.c Fri Jun  7 09:04:32 2013
@@ -168,8 +168,8 @@ static apr_status_t store_array(apr_arra
     elts = (const char **) arr->elts;
 
     for (i = 0; i < arr->nelts; i++) {
-        len = strlen(elts[i]);
-        if (len + 3 >= buffer_len - *slider) {
+        apr_size_t e_len = strlen(elts[i]);
+        if (e_len + 3 >= buffer_len - *slider) {
             return APR_EOF;
         }
         len = apr_snprintf(buffer ? (char *) buffer + *slider : NULL,



Mime
View raw message