Fixed misuse of type "char"
authorPavel Roskin <proski@gnu.org>
Tue, 22 Aug 2000 15:38:16 +0000 (15:38 -0000)
committerPavel Roskin <proski@gnu.org>
Tue, 22 Aug 2000 15:38:16 +0000 (15:38 -0000)
coreutils/tail.c
tail.c

index 6c4a6f46881b36ad12029eef20926d572f47a855..c940bfef75cb61ede918be18343ed8a405f56fec 100644 (file)
@@ -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 6c4a6f46881b36ad12029eef20926d572f47a855..c940bfef75cb61ede918be18343ed8a405f56fec 100644 (file)
--- 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;