diff options
author | jhb <jhb@FreeBSD.org> | 2013-07-30 16:20:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-07-30 16:20:54 +0000 |
commit | 82720cf8ad0ede0f6edf87bf5f729545acb5f198 (patch) | |
tree | 31ad271fa0ed993183d859ee47d936400843f85e /usr.sbin | |
parent | fba705e85972156002c3d6c0a1ffe98f476a3fd3 (diff) | |
download | FreeBSD-src-82720cf8ad0ede0f6edf87bf5f729545acb5f198.zip FreeBSD-src-82720cf8ad0ede0f6edf87bf5f729545acb5f198.tar.gz |
Apply a casting sledgehammer.
Submitted by: dhw
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/watchdogd/watchdogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/watchdogd/watchdogd.c b/usr.sbin/watchdogd/watchdogd.c index 9d405c9..9b4440c 100644 --- a/usr.sbin/watchdogd/watchdogd.c +++ b/usr.sbin/watchdogd/watchdogd.c @@ -774,7 +774,7 @@ parseargs(int argc, char *argv[]) struct timespec ts; pow2ns_to_ts(timeout, &ts); - if (pretimeout >= ts.tv_sec) { + if (pretimeout >= (uintmax_t)ts.tv_sec) { errx(EX_USAGE, "pretimeout (%d) >= timeout (%d -> %ld)\n" "see manual section TIMEOUT RESOLUTION", |