Adjust a type from r267490.

Independent of the maximum length, the return type for strnlen(3)
is always size_t.
This commit is contained in:
Pedro F. Giffuni 2016-04-24 04:28:04 +00:00
parent 2c4eed4723
commit 3548708c47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298531

View File

@ -746,7 +746,7 @@ abort_context_hunk(void)
static void
rej_line(int ch, LINENUM i)
{
unsigned short len;
size_t len;
const char *line = pfetch(i);
len = strnlen(line, USHRT_MAX);