httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r917611 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
Date Mon, 01 Mar 2010 17:54:15 GMT
Author: wrowe
Date: Mon Mar  1 17:54:15 2010
New Revision: 917611

URL: http://svn.apache.org/viewvc?rev=917611&view=rev
Log:
in preparation of fixing 2.2 branch, change again, now to a cast-less solution

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

Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=917611&r1=917610&r2=917611&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Mon Mar  1 17:54:15 2010
@@ -1083,7 +1083,7 @@
             return APR_EGENERAL;
         }
         if (cl_header) {
-            apr_off_t cl = (apr_off_t) apr_atoi64(cl_header);
+            apr_int64_t cl = apr_atoi64(cl_header);
             if ((errno == 0) && (dobj->file_size != cl)) {
                 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
                              "disk_cache: URL %s didn't receive complete response, not caching",



Mime
View raw message