diff options
-rw-r--r-- | srclib/pcre/pcreposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |