fixed clang warning

This commit is contained in:
Yann Collet 2016-03-19 15:18:42 +01:00
parent 37f3d1b2ab
commit bb604486f1
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@
/*-*************************************
* Constants
***************************************/
static const U32 g_searchStrength = 8;
static const U32 g_searchStrength = 8; /* control skip over incompressible data */
/*-*************************************

View File

@ -342,7 +342,7 @@ typedef struct
size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr)
{
const BYTE* const in = (const BYTE* const)src;
size_t cSize;
U32 cSize;
if (srcSize < ZSTD_blockHeaderSize) return ERROR(srcSize_wrong);