httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apache-1.3/src/modules/proxy proxy_util.c
Date Thu, 21 Mar 2002 06:10:44 GMT
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)
  
  
  

Mime
View raw message