diff --git a/src/format/acl.rs b/src/format/acl.rs index 6cedc68..510e0bc 100644 --- a/src/format/acl.rs +++ b/src/format/acl.rs @@ -7,7 +7,7 @@ use endian_trait::Endian; pub const READ: u64 = 4; pub const WRITE: u64 = 2; pub const EXECUTE: u64 = 1; -pub const NO_MASK: u64 = std::u64::MAX; +pub const NO_MASK: u64 = u64::MAX; /// ACL permission bits. /// diff --git a/src/format/mod.rs b/src/format/mod.rs index d66435e..80af595 100644 --- a/src/format/mod.rs +++ b/src/format/mod.rs @@ -150,8 +150,8 @@ impl Header { PXAR_ACL_GROUP_OBJ => size_of::() as u64, PXAR_QUOTA_PROJID => size_of::() as u64, PXAR_ENTRY => size_of::() as u64, - PXAR_PAYLOAD | PXAR_GOODBYE => std::u64::MAX - (size_of::() as u64), - _ => std::u64::MAX - (size_of::() as u64), + PXAR_PAYLOAD | PXAR_GOODBYE => u64::MAX - (size_of::() as u64), + _ => u64::MAX - (size_of::() as u64), } }