summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6ctl
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-15 02:16:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-10-15 02:16:36 +0000
commit71cc1cfb9633f4f21cbd7bed2a5e298466155cf4 (patch)
treef5c77da016f1ca4dc8af3a594d3905f3a4878138 /usr.sbin/ospf6ctl
parente1f9f519d90e79938fea03cd7854c9ca9c49cce1 (diff)
specifying int instead of just unsigned is better style
Diffstat (limited to 'usr.sbin/ospf6ctl')
-rw-r--r--usr.sbin/ospf6ctl/ospf6ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c
index 84d963ddc61..b282da8e014 100644
--- a/usr.sbin/ospf6ctl/ospf6ctl.c
+++ b/usr.sbin/ospf6ctl/ospf6ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6ctl.c,v 1.4 2007/10/14 01:28:06 deraadt Exp $ */
+/* $OpenBSD: ospf6ctl.c,v 1.5 2007/10/15 02:16:35 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -457,7 +457,7 @@ fmt_timeframe_core(time_t t)
char *buf;
static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */
static int idx = 0;
- unsigned sec, min, hrs, day, week;
+ unsigned int sec, min, hrs, day, week;
if (t == 0)
return ("00:00:00");