]> granicus.if.org Git - apache/commitdiff
in preparation of fixing 2.2 branch, change again, now to a cast-less solution
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 1 Mar 2010 17:54:15 +0000 (17:54 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 1 Mar 2010 17:54:15 +0000 (17:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@917611 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_disk_cache.c

index c67112dd355162abbf7f9f669d8a3fcc5d998ce0..b65c8bca4c69d4dc826e7d955b8d3bf4c019024c 100644 (file)
@@ -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",