1
0
mirror of https://github.com/facebook/zstd.git synced 2025-11-30 11:21:33 +03:00

fixed minor conversion warning

This commit is contained in:
Yann Collet
2018-05-17 17:27:27 -07:00
parent 8572b4d09f
commit af3da079d1

View File

@@ -1050,7 +1050,7 @@ size_t ZSTD_compressBlock_btultra(
ZSTD_resetSeqStore(seqStore); ZSTD_resetSeqStore(seqStore);
/* invalidate first scan from history */ /* invalidate first scan from history */
ms->window.base -= srcSize; ms->window.base -= srcSize;
ms->window.dictLimit += srcSize; ms->window.dictLimit += (U32)srcSize;
ms->window.lowLimit = ms->window.dictLimit; ms->window.lowLimit = ms->window.dictLimit;
ms->nextToUpdate = ms->window.dictLimit; ms->nextToUpdate = ms->window.dictLimit;
ms->nextToUpdate3 = ms->window.dictLimit; ms->nextToUpdate3 = ms->window.dictLimit;