From: William A. Rowe Jr Date: Wed, 11 Oct 2000 07:42:44 +0000 (+0000) Subject: Yet another warning down (pps... I choose to cast rc since i is being X-Git-Tag: APACHE_2_0_ALPHA_8~419 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b010bb52625d739687127176977e01801690b285;p=apache Yet another warning down (pps... I choose to cast rc since i is being 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 --- diff --git a/srclib/pcre/pcreposix.c b/srclib/pcre/pcreposix.c index 7c66ccec89..c6edb7dbec 100644 --- a/srclib/pcre/pcreposix.c +++ b/srclib/pcre/pcreposix.c @@ -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];