fixed -Werror,-Wconversion warning

This commit is contained in:
inikep
2016-04-04 15:43:45 +02:00
parent 0c7456c5b7
commit cb70c8ab90
+1 -1
View File
@@ -178,7 +178,7 @@ MEM_STATIC void ZSTD_updatePrice(seqStore_t* seqStorePtr, U32 litLength, const B
/* match offset */
seqStorePtr->offCodeSum++;
BYTE offCode = ZSTD_highbit(offset+1);
BYTE offCode = (BYTE)ZSTD_highbit(offset+1);
seqStorePtr->offCodeFreq[offCode]++;
/* match Length */