aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-14 17:24:58 +0000
committerproski <proski@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-14 17:24:58 +0000
commit06cd8d4502d1f8fc57409d814c4a00c94427d760 (patch)
tree7381dffc6d435e1b950610f8630a6b7198dd87d8 /sysklogd/logger.c
parent107dff00d847731ea154abda013ead09fc61c131 (diff)
downloadbusybox-w32-06cd8d4502d1f8fc57409d814c4a00c94427d760.tar.gz
busybox-w32-06cd8d4502d1f8fc57409d814c4a00c94427d760.tar.bz2
busybox-w32-06cd8d4502d1f8fc57409d814c4a00c94427d760.zip
More fixes for "signed vs. unsigned" warnings.
git-svn-id: svn://busybox.net/trunk/busybox@858 69ca8d6d-28ef-0310-b511-8ec308f3f277
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;