tree-wide: use UINT64_MAX or friends
This commit is contained in:
@@ -147,7 +147,7 @@ static int parse_crtime(le64_t le, usec_t *usec) {
|
||||
assert(usec);
|
||||
|
||||
u = le64toh(le);
|
||||
if (IN_SET(u, 0, (uint64_t) -1))
|
||||
if (IN_SET(u, 0, UINT64_MAX))
|
||||
return -EIO;
|
||||
|
||||
*usec = (usec_t) u;
|
||||
|
||||
Reference in New Issue
Block a user