aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c
index 9f818ea72..fb81c0a8f 100644
--- a/coreutils/wc.c
+++ b/coreutils/wc.c
@@ -68,7 +68,7 @@ static void wc_file(FILE * file, const char *name)
68 unsigned int length = 0; 68 unsigned int length = 0;
69 unsigned int linepos = 0; 69 unsigned int linepos = 0;
70 char in_word = 0; 70 char in_word = 0;
71 char c; 71 int c;
72 72
73 while ((c = getc(file)) != EOF) { 73 while ((c = getc(file)) != EOF) {
74 chars++; 74 chars++;