You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/10/11 09:42:45 UTC
cvs commit: apache-2.0/src/lib/pcre pcreposix.c
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];