Merge pull request #1470 from facebook/U32

fix confusion between unsigned <-> U32
This commit is contained in:
Yann Collet
2018-12-23 12:35:39 -08:00
committed by GitHub
30 changed files with 401 additions and 388 deletions
+1 -1
View File
@@ -658,7 +658,7 @@ size_t FSE_compress_wksp (void* dst, size_t dstSize, const void* src, size_t src
BYTE* op = ostart;
BYTE* const oend = ostart + dstSize;
U32 count[FSE_MAX_SYMBOL_VALUE+1];
unsigned count[FSE_MAX_SYMBOL_VALUE+1];
S16 norm[FSE_MAX_SYMBOL_VALUE+1];
FSE_CTable* CTable = (FSE_CTable*)workSpace;
size_t const CTableSize = FSE_CTABLE_SIZE_U32(tableLog, maxSymbolValue);