diff --git a/src/write.rs b/src/write.rs index 87691b34..094621d4 100644 --- a/src/write.rs +++ b/src/write.rs @@ -1759,7 +1759,7 @@ fn write_local_file_header(writer: &mut T, file: &ZipFileData) -> ZipR if let Some(field) = file.extra_field { extra_field_length += field.len(); } - match extra_field_length.try_into::() { + match extra_field_length.try_into() { Ok(length_u16) => writer.write_u16_le(length_u16)?, Err(_) => return Err(ZipError::InvalidArchive("Extra field is too long")), }