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)?;