diff options
Diffstat (limited to '7zip/Compress/Rar20/Rar20Decoder.cpp')
-rwxr-xr-x | 7zip/Compress/Rar20/Rar20Decoder.cpp | 2 |
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) |