Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/UI/Common/OpenArchive.cpp')
-rwxr-xr-x7zip/UI/Common/OpenArchive.cpp10
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)
{