httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server protocol.c
Date Thu, 13 Dec 2001 16:41:43 GMT
wrowe       01/12/13 08:41:43

  Modified:    server   protocol.c
  Log:
    Address a signedness warning.  No cleaner solutions here.
  
  Revision  Changes    Path
  1.61      +1 -1      httpd-2.0/server/protocol.c
  
  Index: protocol.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/protocol.c,v
  retrieving revision 1.60
  retrieving revision 1.61
  diff -u -r1.60 -r1.61
  --- protocol.c	2001/12/05 01:34:00	1.60
  +++ protocol.c	2001/12/13 16:41:43	1.61
  @@ -257,7 +257,7 @@
               AP_DEBUG_ASSERT(!APR_BRIGADE_EMPTY(req_cfg->bb));
               break;
           }
  -        if (total + length - 1 < n) {
  +        if (total + (int)length - 1 < n) {
               if (!*s) {
                   *s = apr_palloc(r->pool, length + 2); /* +2 for LF, null */
               }
  
  
  

Mime
View raw message