Apply a casting sledgehammer.
Submitted by: dhw
This commit is contained in:
parent
6d9b2f85f8
commit
22dbec3de7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253808
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user