Trivial type fix.

-Erik
This commit is contained in:
Erik Andersen 2000-01-07 09:43:38 +00:00
parent d38eaef70b
commit 286b0de74d
2 changed files with 2 additions and 4 deletions

View File

@ -151,8 +151,7 @@ extern int logger_main(int argc, char **argv)
if (fromStdinFlag==TRUE) { if (fromStdinFlag==TRUE) {
/* read from stdin */ /* read from stdin */
int i=0; int c, i=0;
char c;
while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) { while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) {
buf1[i++]=c; buf1[i++]=c;
} }

View File

@ -151,8 +151,7 @@ extern int logger_main(int argc, char **argv)
if (fromStdinFlag==TRUE) { if (fromStdinFlag==TRUE) {
/* read from stdin */ /* read from stdin */
int i=0; int c, i=0;
char c;
while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) { while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) {
buf1[i++]=c; buf1[i++]=c;
} }