summaryrefslogtreecommitdiff
path: root/seq-read.c
diff options
context:
space:
mode:
Diffstat (limited to 'seq-read.c')
-rw-r--r--seq-read.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/seq-read.c b/seq-read.c
index 0829960..90d201f 100644
--- a/seq-read.c
+++ b/seq-read.c
@@ -8,8 +8,7 @@ main(void)
8 clock_t start = clock(); 8 clock_t start = clock();
9 size_t sum = 0; 9 size_t sum = 0;
10 10
11 int ch; 11 for ( int ch; (ch = getc(stdin)) != EOF; ) {
12 while ((ch = getc(stdin)) != EOF) {
13 sum += (unsigned char) ch; 12 sum += (unsigned char) ch;
14 } 13 }
15 14