mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 01:44:20 +00:00
diff: prefer signed types in context.c
* src/context.c (find_function): Prefer idx_t to size_t.
This commit is contained in:
parent
7d69341d91
commit
e9e15097ff
@ -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. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user