From b7f5b36f2b488ac2fb418ff5bdf04bd17e1c22bb Mon Sep 17 00:00:00 2001 From: Nanook <188841+Nanook@users.noreply.github.com> Date: Thu, 24 Jul 2025 01:28:11 +0100 Subject: [PATCH] Update src/SharpCompress/Writers/Zip/ZipWriter.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/SharpCompress/Writers/Zip/ZipWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SharpCompress/Writers/Zip/ZipWriter.cs b/src/SharpCompress/Writers/Zip/ZipWriter.cs index 097e8fd0..4c4b7de7 100644 --- a/src/SharpCompress/Writers/Zip/ZipWriter.cs +++ b/src/SharpCompress/Writers/Zip/ZipWriter.cs @@ -398,7 +398,7 @@ public class ZipWriter : AbstractWriter { return new ZstdSharp.CompressionStream( counting, - (int)writer.WriterOptions.CompressionLevel + compressionLevel ); } default: