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/Rar20/Rar20Decoder.cpp')
-rwxr-xr-x7zip/Compress/Rar20/Rar20Decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/7zip/Compress/Rar20/Rar20Decoder.cpp b/7zip/Compress/Rar20/Rar20Decoder.cpp
index fd013a43..f990811f 100755
--- a/7zip/Compress/Rar20/Rar20Decoder.cpp
+++ b/7zip/Compress/Rar20/Rar20Decoder.cpp
@@ -208,7 +208,7 @@ STDMETHODIMP CDecoder::CodeReal(ISequentialInStream *inStream,
if (symbol >= kMMTableSize)
return S_FALSE;
Byte byPredict = m_Predictor.Predict();
- Byte byReal = byPredict - Byte(symbol);
+ Byte byReal = (Byte)(byPredict - (Byte)symbol);
m_Predictor.Update(byReal, byPredict);
m_OutWindowStream.PutByte(byReal);
if (++m_Predictor.CurrentChannel == m_NumChannels)