From 08c2e76705e0997f9ae488aa6628c4b752315385 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Wed, 20 Jul 2022 22:22:08 +1000 Subject: [PATCH] Fix param order in `central_header_to_zip_file_inner` Signed-off-by: Jiahao XU --- src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/read.rs b/src/read.rs index e98e0a0e..ee22c940 100644 --- a/src/read.rs +++ b/src/read.rs @@ -663,8 +663,8 @@ pub(crate) fn central_header_to_zip_file( /// Parse a central directory entry to collect the information for the file. fn central_header_to_zip_file_inner( reader: &mut R, - central_header_start: u64, archive_offset: u64, + central_header_start: u64, ) -> ZipResult { let version_made_by = reader.read_u16::()?; let _version_to_extract = reader.read_u16::()?;