diff options
Diffstat (limited to '7zip/UI/Common/OpenArchive.cpp')
-rwxr-xr-x | 7zip/UI/Common/OpenArchive.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/7zip/UI/Common/OpenArchive.cpp b/7zip/UI/Common/OpenArchive.cpp index d00a1f54..89deb434 100755 --- a/7zip/UI/Common/OpenArchive.cpp +++ b/7zip/UI/Common/OpenArchive.cpp @@ -110,14 +110,8 @@ HRESULT IsArchiveItemAnti(IInArchive *archive, UInt32 index, bool &result) return IsArchiveItemProp(archive, index, kpidIsAnti, result); } -// Static-SFX (for Linux) can be big -const UInt64 kMaxCheckStartPosition = -#ifdef _WIN32 -1 << 20; -#else -1 << 22; -#endif - +// Static-SFX (for Linux) can be big. +const UInt64 kMaxCheckStartPosition = 1 << 22; HRESULT ReOpenArchive(IInArchive *archive, const UString &fileName) { |