You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2010/03/01 18:54:15 UTC
svn commit: r917611 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c
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",