[codec,ncrush] fix const correctness of pointer

This commit is contained in:
akallabeth 2023-09-20 16:19:15 +02:00 committed by Martin Fleisz
parent 45c1bc8748
commit 0b7b8445bc

View File

@ -2022,7 +2022,7 @@ int ncrush_decompress(NCRUSH_CONTEXT* ncrush, const BYTE* pSrcData, UINT32 SrcSi
UINT32 CopyOffset;
UINT32 CopyLength;
UINT32 OldCopyOffset;
BYTE* CopyOffsetPtr;
const BYTE* CopyOffsetPtr;
UINT32 LengthOfMatch;
UINT32 CopyOffsetIndex;
UINT32 OffsetCacheIndex;