diff options
author | Pavel Roskin | 2000-07-14 17:24:58 +0000 |
---|---|---|
committer | Pavel Roskin | 2000-07-14 17:24:58 +0000 |
commit | df4532bfa390d7986a0544b93a95921d4b473ef2 (patch) | |
tree | 7381dffc6d435e1b950610f8630a6b7198dd87d8 /sysklogd | |
parent | ff5a9033f9dfa449d32aa7b2631a55ebfb7fbc5e (diff) | |
download | busybox-df4532bfa390d7986a0544b93a95921d4b473ef2.zip busybox-df4532bfa390d7986a0544b93a95921d4b473ef2.tar.gz |
More fixes for "signed vs. unsigned" warnings.
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 71d7030..981748b 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -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; |