aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2000-07-14 17:24:58 +0000
committerPavel Roskin <proski@gnu.org>2000-07-14 17:24:58 +0000
commitdf4532bfa390d7986a0544b93a95921d4b473ef2 (patch)
tree7381dffc6d435e1b950610f8630a6b7198dd87d8 /sysklogd/logger.c
parentff5a9033f9dfa449d32aa7b2631a55ebfb7fbc5e (diff)
downloadbusybox-df4532bfa390d7986a0544b93a95921d4b473ef2.tar.gz
More fixes for "signed vs. unsigned" warnings.
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 71d703085..981748bb5 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;