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 2002/03/21 07:10:44 UTC

cvs commit: apache-1.3/src/modules/proxy proxy_util.c

wrowe       02/03/20 22:10:44

  Modified:    src/modules/proxy proxy_util.c
  Log:
    Clear up a signed/unsigned comparison and assignment.
  
  Revision  Changes    Path
  1.108     +1 -1      apache-1.3/src/modules/proxy/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/proxy_util.c,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -r1.107 -r1.108
  --- proxy_util.c	13 Mar 2002 21:05:32 -0000	1.107
  +++ proxy_util.c	21 Mar 2002 06:10:44 -0000	1.108
  @@ -562,7 +562,7 @@
               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)