From 69e78f4b53016bec22f0a531d0ea541082628875 Mon Sep 17 00:00:00 2001 From: Truman Kilen Date: Sat, 11 Feb 2023 23:42:36 -0600 Subject: [PATCH] clippy --- repak/src/pak.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repak/src/pak.rs b/repak/src/pak.rs index 2ef8c1a..51a44a3 100644 --- a/repak/src/pak.rs +++ b/repak/src/pak.rs @@ -496,7 +496,7 @@ fn generate_path_hash_index( .collect::>(); let path_hash = fnv64(&utf16le_path, path_hash_seed); writer.write_u64::(path_hash)?; - writer.write_u32::(*offset as u32)?; + writer.write_u32::(*offset)?; } writer.write_u32::(0)?;