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:
pfg 2016-04-24 04:28:04 +00:00
parent 81085e95f4
commit 7b1878186b

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);