From: William A. Rowe Jr Date: Mon, 1 Mar 2010 17:54:15 +0000 (+0000) Subject: in preparation of fixing 2.2 branch, change again, now to a cast-less solution X-Git-Tag: 2.3.6~426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2098898eb188dd82a2b678b6156d416dafd23fb2;p=apache in preparation of fixing 2.2 branch, change again, now to a cast-less solution git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@917611 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_disk_cache.c b/modules/cache/mod_disk_cache.c index c67112dd35..b65c8bca4c 100644 --- a/modules/cache/mod_disk_cache.c +++ b/modules/cache/mod_disk_cache.c @@ -1083,7 +1083,7 @@ static apr_status_t store_body(cache_handle_t *h, request_rec *r, 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",