From f348c23daef73263161425b247203df7504b8d90 Mon Sep 17 00:00:00 2001 From: Tino Reichardt Date: Mon, 1 Jun 2020 21:25:18 +0200 Subject: [PATCH] Fix #133 - wrong block size used --- CPP/7zip/UI/Common/CompressCall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CPP/7zip/UI/Common/CompressCall.cpp b/CPP/7zip/UI/Common/CompressCall.cpp index 0f875365..02c3dff9 100644 --- a/CPP/7zip/UI/Common/CompressCall.cpp +++ b/CPP/7zip/UI/Common/CompressCall.cpp @@ -257,7 +257,7 @@ HRESULT CompressFiles( if (fo.BlockLogSize) { params += " -ms="; - ConvertUInt32ToString(1 << fo.BlockLogSize, temp); + ConvertUInt64ToString(1ULL << fo.BlockLogSize, temp); params += temp; params += "b"; }