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-w32-df4532bfa390d7986a0544b93a95921d4b473ef2.tar.gz
busybox-w32-df4532bfa390d7986a0544b93a95921d4b473ef2.tar.bz2
busybox-w32-df4532bfa390d7986a0544b93a95921d4b473ef2.zip
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)
156 156
157 if (fromStdinFlag == TRUE) { 157 if (fromStdinFlag == TRUE) {
158 /* read from stdin */ 158 /* read from stdin */
159 int c, i = 0; 159 int c;
160 unsigned int i = 0;
160 161
161 while ((c = getc(stdin)) != EOF && i < sizeof(buf)) { 162 while ((c = getc(stdin)) != EOF && i < sizeof(buf)) {
162 buf[i++] = c; 163 buf[i++] = c;