fixed -Werror,-Wconversion warning
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ MEM_STATIC void ZSTD_updatePrice(seqStore_t* seqStorePtr, U32 litLength, const B
|
|||||||
|
|
||||||
/* match offset */
|
/* match offset */
|
||||||
seqStorePtr->offCodeSum++;
|
seqStorePtr->offCodeSum++;
|
||||||
BYTE offCode = ZSTD_highbit(offset+1);
|
BYTE offCode = (BYTE)ZSTD_highbit(offset+1);
|
||||||
seqStorePtr->offCodeFreq[offCode]++;
|
seqStorePtr->offCodeFreq[offCode]++;
|
||||||
|
|
||||||
/* match Length */
|
/* match Length */
|
||||||
|
|||||||
Reference in New Issue
Block a user