aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2024-02-12 18:26:13 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2024-02-12 18:26:13 +0000
commit851a9da38f070675c42a6d69c41c47a5d29ee3d0 (patch)
tree80a89e03225fbf2b419f1b88b2dcea18b8680d57 /usr.bin/patch/patch.c
parent114ab149e23e11760a2a41a773a786b97980616a (diff)
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index 403189bc92b1..838c721841ea 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -1085,7 +1085,7 @@ patch_match(LINENUM base, LINENUM offset, LINENUM fuzz)
LINENUM pat_lines = pch_ptrn_lines() - fuzz;
const char *ilineptr;
const char *plineptr;
- unsigned short plinelen;
+ size_t plinelen;
/* Patch does not match if we don't have any more context to use */
if (pline > pat_lines)