httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/pcre pcreposix.c
Date Wed, 11 Oct 2000 07:42:45 GMT
wrowe       00/10/11 00:42:45

  Modified:    src/lib/pcre pcreposix.c
  Log:
    Yet another warning down (pps... I choose to cast rc since i is being
    doubled... I expect the mismatched types were deliberate.)
  
  Revision  Changes    Path
  1.2       +1 -1      apache-2.0/src/lib/pcre/pcreposix.c
  
  Index: pcreposix.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/pcre/pcreposix.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- pcreposix.c	2000/05/05 23:28:22	1.1
  +++ pcreposix.c	2000/10/11 07:42:44	1.2
  @@ -247,7 +247,7 @@
   if (rc >= 0)
     {
     size_t i;
  -  for (i = 0; i < rc; i++)
  +  for (i = 0; i < (size_t) rc; i++)
       {
       pmatch[i].rm_so = ovector[i*2];
       pmatch[i].rm_eo = ovector[i*2+1];
  
  
  

Mime
View raw message