diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2019-03-04 04:27:14 +0300 |
---|---|---|
committer | Kornel <kornel@geekhood.net> | 2019-03-04 04:27:14 +0300 |
commit | 4a960640a340a848a2d2c27f19b339c2c3d3f734 (patch) | |
tree | f09fc7b1b03e40c740f78258d72b480b92cd17ce /C/7zDec.c | |
parent | 5b2a99c548a6c9c90d4cc63cddca29af009c2479 (diff) |
19.0019.00
Diffstat (limited to 'C/7zDec.c')
-rw-r--r-- | C/7zDec.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* 7zDec.c -- Decoding from 7z folder -2018-07-04 : Igor Pavlov : Public domain */ +2019-02-02 : Igor Pavlov : Public domain */ #include "Precomp.h" @@ -156,7 +156,7 @@ static SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, I { SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos; ELzmaStatus status; - res = LzmaDec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); + res = LzmaDec_DecodeToDic(&state, outSize, (const Byte *)inBuf, &inProcessed, LZMA_FINISH_END, &status); lookahead -= inProcessed; inSize -= inProcessed; if (res != SZ_OK) @@ -218,7 +218,7 @@ static SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, { SizeT inProcessed = (SizeT)lookahead, dicPos = state.decoder.dicPos; ELzmaStatus status; - res = Lzma2Dec_DecodeToDic(&state, outSize, inBuf, &inProcessed, LZMA_FINISH_END, &status); + res = Lzma2Dec_DecodeToDic(&state, outSize, (const Byte *)inBuf, &inProcessed, LZMA_FINISH_END, &status); lookahead -= inProcessed; inSize -= inProcessed; if (res != SZ_OK) |