Print a size_t as %u not %d.

Pointed out by:	mike, des's tinderbox
This commit is contained in:
Juli Mallett 2002-04-20 21:13:00 +00:00
parent 6541d27cad
commit 815bee2f7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95159

View File

@ -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 &&