summaryrefslogtreecommitdiff
path: root/usr.sbin/ripctl/ripctl.c
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/ripctl/ripctl.c
parente1f9f519d90e79938fea03cd7854c9ca9c49cce1 (diff)
specifying int instead of just unsigned is better style
Diffstat (limited to 'usr.sbin/ripctl/ripctl.c')
-rw-r--r--usr.sbin/ripctl/ripctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ripctl/ripctl.c b/usr.sbin/ripctl/ripctl.c
index 3172ac96515..baad35f6597 100644
--- a/usr.sbin/ripctl/ripctl.c
+++ b/usr.sbin/ripctl/ripctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ripctl.c,v 1.4 2007/09/11 17:29:05 henning Exp $
+/* $OpenBSD: ripctl.c,v 1.5 2007/10/15 02:16:35 deraadt Exp $
*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -239,7 +239,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 ("Stopped");