aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/patch
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-04-24 04:08:36 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-04-24 04:08:36 +0000
commit2c4eed4723c3a739b85102d1ff911f06fe826fbc (patch)
treefdc511f926a71db0f80b8d5b22e7479a993a65a2 /usr.bin/patch
parenta4c2c79097830b0afd3d94ce4759576c9b85cf50 (diff)
Notes
Diffstat (limited to 'usr.bin/patch')
-rw-r--r--usr.bin/patch/pch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/pch.c b/usr.bin/patch/pch.c
index 0db459e9638b..e12e833d54ef 100644
--- a/usr.bin/patch/pch.c
+++ b/usr.bin/patch/pch.c
@@ -1142,7 +1142,7 @@ hunk_done:
say("Not enough memory to swap next hunk!\n");
#ifdef DEBUGGING
if (debug & 2) {
- int i;
+ LINENUM i;
char special;
for (i = 0; i <= p_end; i++) {
@@ -1150,7 +1150,7 @@ hunk_done:
special = '^';
else
special = ' ';
- fprintf(stderr, "%3d %c %c %s", i, p_char[i],
+ fprintf(stderr, "%3ld %c %c %s", i, p_char[i],
special, p_line[i]);
fflush(stderr);
}