Date: Tue, 30 Jul 2013 16:20:54 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253808 - head/usr.sbin/watchdogd Message-ID: <201307301620.r6UGKsfZ080625@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Tue Jul 30 16:20:54 2013 New Revision: 253808 URL: http://svnweb.freebsd.org/changeset/base/253808 Log: Apply a casting sledgehammer. Submitted by: dhw Modified: head/usr.sbin/watchdogd/watchdogd.c Modified: head/usr.sbin/watchdogd/watchdogd.c ============================================================================== --- head/usr.sbin/watchdogd/watchdogd.c Tue Jul 30 16:17:30 2013 (r253807) +++ head/usr.sbin/watchdogd/watchdogd.c Tue Jul 30 16:20:54 2013 (r253808) @@ -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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307301620.r6UGKsfZ080625>