From: jongfoster <jongfoster@users.sourceforge.net>
Date: Thu, 13 Sep 2001 20:15:37 +0000 (+0000)
Subject: Fixing a compiler warning by adding a cast.
X-Git-Tag: v_2_9_9~98
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/man-page/faq/@default-cgi@toggle?a=commitdiff_plain;h=775d887bb8a6e1ba8dcfaa3d4221c0760d037819;p=privoxy.git

Fixing a compiler warning by adding a cast.
---

diff --git a/pcre/pcreposix.c b/pcre/pcreposix.c
index 6aeb8828..519d2dd5 100644
--- a/pcre/pcreposix.c
+++ b/pcre/pcreposix.c
@@ -251,7 +251,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];