mirror of
https://github.com/facebook/zstd.git
synced 2025-12-09 00:03:18 -05:00
fixed clang warning
This commit is contained in:
parent
37f3d1b2ab
commit
bb604486f1
@ -62,7 +62,7 @@
|
|||||||
/*-*************************************
|
/*-*************************************
|
||||||
* Constants
|
* Constants
|
||||||
***************************************/
|
***************************************/
|
||||||
static const U32 g_searchStrength = 8;
|
static const U32 g_searchStrength = 8; /* control skip over incompressible data */
|
||||||
|
|
||||||
|
|
||||||
/*-*************************************
|
/*-*************************************
|
||||||
|
|||||||
@ -342,7 +342,7 @@ typedef struct
|
|||||||
size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr)
|
size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr)
|
||||||
{
|
{
|
||||||
const BYTE* const in = (const BYTE* const)src;
|
const BYTE* const in = (const BYTE* const)src;
|
||||||
size_t cSize;
|
U32 cSize;
|
||||||
|
|
||||||
if (srcSize < ZSTD_blockHeaderSize) return ERROR(srcSize_wrong);
|
if (srcSize < ZSTD_blockHeaderSize) return ERROR(srcSize_wrong);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user