diff: prefer signed types in context.c

* src/context.c (find_function):
Prefer idx_t to size_t.
This commit is contained in:
Paul Eggert 2023-05-25 14:03:44 -07:00
parent 7d69341d91
commit e9e15097ff

View File

@ -492,7 +492,7 @@ find_function (char const * const *linbuf, lin linenum)
{
/* See if this line is what we want. */
char const *line = linbuf[i];
size_t linelen = linbuf[i + 1] - line - 1;
idx_t linelen = linbuf[i + 1] - line - 1;
/* This line is for documentation; in practice it's equivalent
to LEN = LINELEN and no machine code is generated. */