Apply a casting sledgehammer.

Submitted by:	dhw
This commit is contained in:
John Baldwin 2013-07-30 16:20:54 +00:00
parent 6d9b2f85f8
commit 22dbec3de7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253808

View File

@ -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",