diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-07-14 14:30:40 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-14 12:05:37 +0200 |
commit | d6c7cdce9837c90c5231ff1698f25b2822bb2e32 (patch) | |
tree | ff98abf8875b3db6274dac4328a161ef0c47c7c9 /Userland/unzip.cpp | |
parent | ef84865c8cd106a85be4f993549da9153472507d (diff) | |
download | serenity-d6c7cdce9837c90c5231ff1698f25b2822bb2e32.zip |
unzip: Correct compression method offset value
Diffstat (limited to 'Userland/unzip.cpp')
-rw-r--r-- | Userland/unzip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/unzip.cpp b/Userland/unzip.cpp index 453d20abf2..93245c2ae7 100644 --- a/Userland/unzip.cpp +++ b/Userland/unzip.cpp @@ -69,7 +69,7 @@ bool unpack_file_for_central_directory_index(off_t central_directory_index, cons CFDHLocalFileHeaderIndexOffset = 42, }; enum LocalFileHeaderOffsets { - LFHCompressionMethodOffset = 10, + LFHCompressionMethodOffset = 8, LFHCompressedSizeOffset = 18, LFHFileNameLengthOffset = 26, LFHExtraFieldLengthOffset = 28, |