diff options
author | Pavel Roskin <proski@gnu.org> | 2000-07-14 21:24:58 +0400 |
---|---|---|
committer | Pavel Roskin <proski@gnu.org> | 2000-07-14 21:24:58 +0400 |
commit | df4532bfa390d7986a0544b93a95921d4b473ef2 (patch) | |
tree | 7381dffc6d435e1b950610f8630a6b7198dd87d8 /logger.c | |
parent | ff5a9033f9dfa449d32aa7b2631a55ebfb7fbc5e (diff) |
More fixes for "signed vs. unsigned" warnings.
Diffstat (limited to 'logger.c')
-rw-r--r-- | logger.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -156,7 +156,8 @@ extern int logger_main(int argc, char **argv) if (fromStdinFlag == TRUE) { /* read from stdin */ - int c, i = 0; + int c; + unsigned int i = 0; while ((c = getc(stdin)) != EOF && i < sizeof(buf)) { buf[i++] = c; |