]> git.proxmox.com Git - pxar.git/commitdiff
rustc compat fixup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 26 Jun 2020 09:44:20 +0000 (11:44 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 26 Jun 2020 09:44:25 +0000 (11:44 +0200)
lowers crate's rustc requirement to << 1.43

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/format/mod.rs

index 07470b4ac371c823e02a5fff003a346790a5c076..92d7dc3ba44f63243df5e467f2feb3381d75703e 100644 (file)
@@ -116,8 +116,8 @@ impl Header {
             PXAR_ACL_GROUP_OBJ => size_of::<acl::GroupObject> as u64,
             PXAR_QUOTA_PROJID => size_of::<QuotaProjectId>() as u64,
             PXAR_ENTRY => size_of::<Entry>() as u64,
-            PXAR_PAYLOAD | PXAR_GOODBYE => u64::MAX - (size_of::<Self>() as u64),
-            _ => u64::MAX - (size_of::<Self>() as u64),
+            PXAR_PAYLOAD | PXAR_GOODBYE => std::u64::MAX - (size_of::<Self>() as u64),
+            _ => std::u64::MAX - (size_of::<Self>() as u64),
         }
     }