]> granicus.if.org Git - apache/commitdiff
Yet another warning down (pps... I choose to cast rc since i is being
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Oct 2000 07:42:44 +0000 (07:42 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Oct 2000 07:42:44 +0000 (07:42 +0000)
  doubled... I expect the mismatched types were deliberate.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86529 13f79535-47bb-0310-9956-ffa450edef68

srclib/pcre/pcreposix.c

index 7c66ccec89ae610037b8dbeff9080c0d34c1f246..c6edb7dbecead04c442f60a6d75529ab6cbffbe6 100644 (file)
@@ -247,7 +247,7 @@ if (rc == 0) rc = nmatch;    /* All captured slots were filled in */
 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];