aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/tail.c2
-rw-r--r--tail.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 6c4a6f468..c940bfef7 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -67,7 +67,7 @@ int tail_stream(int fd)
67 ssize_t endpoint=0; 67 ssize_t endpoint=0;
68 ssize_t count=0; 68 ssize_t count=0;
69 ssize_t filesize=0; 69 ssize_t filesize=0;
70 char direction=1; 70 int direction=1;
71 71
72 filelocation=0; 72 filelocation=0;
73 startpoint=bs=BUFSIZ; 73 startpoint=bs=BUFSIZ;
diff --git a/tail.c b/tail.c
index 6c4a6f468..c940bfef7 100644
--- a/tail.c
+++ b/tail.c
@@ -67,7 +67,7 @@ int tail_stream(int fd)
67 ssize_t endpoint=0; 67 ssize_t endpoint=0;
68 ssize_t count=0; 68 ssize_t count=0;
69 ssize_t filesize=0; 69 ssize_t filesize=0;
70 char direction=1; 70 int direction=1;
71 71
72 filelocation=0; 72 filelocation=0;
73 startpoint=bs=BUFSIZ; 73 startpoint=bs=BUFSIZ;