summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/util.c')
-rw-r--r--usr.bin/grep/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/util.c b/usr.bin/grep/util.c
index 7b0a50b..627916c 100644
--- a/usr.bin/grep/util.c
+++ b/usr.bin/grep/util.c
@@ -450,7 +450,7 @@ procline(struct parsec *pc)
*/
if (r == REG_NOMATCH &&
(retry == pc->lnstart ||
- pmatch.rm_so + 1 < retry))
+ (unsigned int)pmatch.rm_so + 1 < retry))
retry = pmatch.rm_so + 1;
if (r == REG_NOMATCH)
continue;
OpenPOWER on IntegriCloud