summaryrefslogtreecommitdiff
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 6c4a6f4..c940bfe 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -67,7 +67,7 @@ int tail_stream(int fd)
ssize_t endpoint=0;
ssize_t count=0;
ssize_t filesize=0;
- char direction=1;
+ int direction=1;
filelocation=0;
startpoint=bs=BUFSIZ;
diff --git a/tail.c b/tail.c
index 6c4a6f4..c940bfe 100644
--- a/tail.c
+++ b/tail.c
@@ -67,7 +67,7 @@ int tail_stream(int fd)
ssize_t endpoint=0;
ssize_t count=0;
ssize_t filesize=0;
- char direction=1;
+ int direction=1;
filelocation=0;
startpoint=bs=BUFSIZ;