mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
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:
parent
2c4eed4723
commit
3548708c47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298531
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user