Trivial type fix.
 -Erik
diff --git a/logger.c b/logger.c
index 5ef622d..35bbb66 100644
--- a/logger.c
+++ b/logger.c
@@ -151,8 +151,7 @@
 
     if (fromStdinFlag==TRUE) {
 	/* read from stdin */
-	int i=0;
-	char c;
+	int c, i=0;
 	while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) {
 	    buf1[i++]=c;
 	}
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 5ef622d..35bbb66 100644
--- a/sysklogd/logger.c
+++ b/sysklogd/logger.c
@@ -151,8 +151,7 @@
 
     if (fromStdinFlag==TRUE) {
 	/* read from stdin */
-	int i=0;
-	char c;
+	int c, i=0;
 	while ((c = getc(stdin)) != EOF && i<sizeof(buf1)) {
 	    buf1[i++]=c;
 	}