summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl/ospfctl.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-10-15 02:16:35 +0000
committerderaadt <deraadt@openbsd.org>2007-10-15 02:16:35 +0000
commitdb93f2f190a97cf884a6e1d301bb8ba4fa3e4150 (patch)
treef069332d64f0f32b176da5529652765754c84c83 /usr.sbin/ospfctl/ospfctl.c
parentregen (diff)
downloadwireguard-openbsd-db93f2f190a97cf884a6e1d301bb8ba4fa3e4150.tar.xz
wireguard-openbsd-db93f2f190a97cf884a6e1d301bb8ba4fa3e4150.zip
specifying int instead of just unsigned is better style
Diffstat (limited to 'usr.sbin/ospfctl/ospfctl.c')
-rw-r--r--usr.sbin/ospfctl/ospfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c
index c4850b60147..00f20546508 100644
--- a/usr.sbin/ospfctl/ospfctl.c
+++ b/usr.sbin/ospfctl/ospfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfctl.c,v 1.40 2007/10/14 01:28:08 deraadt Exp $ */
+/* $OpenBSD: ospfctl.c,v 1.41 2007/10/15 02:16:35 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -478,7 +478,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");