Print a size_t as %u not %d.
Pointed out by: mike, des's tinderbox
This commit is contained in:
parent
6541d27cad
commit
815bee2f7b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95159
@ -279,7 +279,7 @@ add_sub(n, string, re, pm)
|
||||
regmatch_t *pm;
|
||||
{
|
||||
if (n > re->re_nsub)
|
||||
warnx("No subexpression %d", n);
|
||||
warnx("No subexpression %u", n);
|
||||
/* Subexpressions that did not match are
|
||||
* not an error. */
|
||||
else if (pm[n].rm_so != -1 &&
|
||||
|
Loading…
Reference in New Issue
Block a user