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/Compress/Implode/ImplodeDecoder.cpp')
-rwxr-xr-x7zip/Compress/Implode/ImplodeDecoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/7zip/Compress/Implode/ImplodeDecoder.cpp b/7zip/Compress/Implode/ImplodeDecoder.cpp
index b7689f62..19634c5c 100755
--- a/7zip/Compress/Implode/ImplodeDecoder.cpp
+++ b/7zip/Compress/Implode/ImplodeDecoder.cpp
@@ -89,7 +89,7 @@ bool CCoder::ReadLevelItems(NImplode::NHuffman::CDecoder &decoder,
if (currentIndex + rep > numLevelItems)
throw CException(CException::kData);
for(int j = 0; j < rep; j++)
- levels[currentIndex++] = level;
+ levels[currentIndex++] = (Byte)level;
}
if (currentIndex != numLevelItems)
return false;
@@ -123,7 +123,7 @@ public:
};
STDMETHODIMP CCoder::CodeReal(ISequentialInStream *inStream,
- ISequentialOutStream *outStream, const UInt64 *inSize, const UInt64 *outSize,
+ ISequentialOutStream *outStream, const UInt64 * /* inSize */, const UInt64 *outSize,
ICompressProgressInfo *progress)
{
if (!m_InBitStream.Create(1 << 20))