MAX values in these modules are replaced by associated
constants in the integer types
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
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.
///
PXAR_ACL_GROUP_OBJ => size_of::<acl::GroupObject>() as u64,
PXAR_QUOTA_PROJID => size_of::<QuotaProjectId>() as u64,
PXAR_ENTRY => size_of::<Stat>() as u64,
- PXAR_PAYLOAD | PXAR_GOODBYE => std::u64::MAX - (size_of::<Self>() as u64),
- _ => std::u64::MAX - (size_of::<Self>() as u64),
+ PXAR_PAYLOAD | PXAR_GOODBYE => u64::MAX - (size_of::<Self>() as u64),
+ _ => u64::MAX - (size_of::<Self>() as u64),
}
}