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
0923281ac1
commit
6dbe6995bd
@ -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