summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2006-08-17 18:15:43 +0000
committerdelphij <delphij@FreeBSD.org>2006-08-17 18:15:43 +0000
commite0f5f00d16681f26cedce15ea5b8b834a788eea4 (patch)
treeb6a7eabee06ab4b1e07ef51319bbe83190c3221d /usr.sbin/newsyslog/newsyslog.c
parent68f1f47647cbc88e65fdaf46eeb47e48c263236c (diff)
downloadFreeBSD-src-e0f5f00d16681f26cedce15ea5b8b834a788eea4.zip
FreeBSD-src-e0f5f00d16681f26cedce15ea5b8b834a788eea4.tar.gz
Use same signedness for i and matched_c. This should make
newsyslog(8) WARNS=6 clean.
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.c')
-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 a7dbe08..a357062 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;
OpenPOWER on IntegriCloud