From ccb43d66aaba9ec8343000b40b825218e8698fd3 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Thu, 17 Aug 2006 18:15:43 +0000 Subject: [PATCH] Use same signedness for i and matched_c. This should make newsyslog(8) WARNS=6 clean. --- usr.sbin/newsyslog/newsyslog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index a7dbe08c0d4..a357062f00a 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -890,7 +890,8 @@ get_worklist(char **files) static void expand_globs(struct conf_entry **work_p, struct conf_entry **glob_p) { - int gmatch, gres, i; + int gmatch, gres; + size_t i; char *mfname; struct conf_entry *dupent, *ent, *firstmatch, *globent; struct conf_entry *lastmatch;