aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2006-08-17 18:15:43 +0000
committerXin LI <delphij@FreeBSD.org>2006-08-17 18:15:43 +0000
commitccb43d66aaba9ec8343000b40b825218e8698fd3 (patch)
treeb6a7eabee06ab4b1e07ef51319bbe83190c3221d /usr.sbin/newsyslog
parent43cb852dc0ce9f0ba20de2ad2a6a94894ac91f39 (diff)
downloadsrc-ccb43d66aaba9ec8343000b40b825218e8698fd3.tar.gz
src-ccb43d66aaba9ec8343000b40b825218e8698fd3.zip
Use same signedness for i and matched_c. This should make
newsyslog(8) WARNS=6 clean.
Notes
Notes: svn path=/head/; revision=161412
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index a7dbe08c0d4f..a357062f00a6 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;