bsdgrep: cast pmatch.rm_so to fix build when linking against libgnuregex
Reported by: many Approved by: emaste (mentor) MFC after: immediate
This commit is contained in:
parent
a8ec96af28
commit
de3d7a8286
@ -443,7 +443,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user