]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Clear up a signed/unsigned comparison and assignment.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 21 Mar 2002 06:10:44 +0000 (06:10 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 21 Mar 2002 06:10:44 +0000 (06:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@94078 13f79535-47bb-0310-9956-ffa450edef68

src/modules/proxy/proxy_util.c

index 20a1bb6cf881627e7c7310b6d55d00a6a5e4300e..fd07153651fee81f9560db9777006fb3042a4956 100644 (file)
@@ -562,7 +562,7 @@ long int ap_proxy_send_fb(BUFF *f, request_rec *r, cache_req *c, off_t len, int
             n = ap_bread(f, buf, buf_size);
         }
         else {
-            n = ap_bread(f, buf, MIN(buf_size, len - total_bytes_rcvd));
+            n = ap_bread(f, buf, MIN((off_t)buf_size, len - total_bytes_rcvd));
         }
 
         if (alternate_timeouts)