Merge pull request #2293 from allanjude/coverity

Resolve Coverity 1432392 Unintentional integer overflow
This commit is contained in:
Nick Terrell
2020-09-03 13:58:45 -07:00
committed by GitHub
+1 -1
View File
@@ -3079,7 +3079,7 @@ ZSTD_compress_insertDictionary(ZSTD_compressedBlockState_t* bs,
}
#define ZSTD_USE_CDICT_PARAMS_SRCSIZE_CUTOFF (128 KB)
#define ZSTD_USE_CDICT_PARAMS_DICTSIZE_MULTIPLIER (6)
#define ZSTD_USE_CDICT_PARAMS_DICTSIZE_MULTIPLIER (6ULL)
/*! ZSTD_compressBegin_internal() :
* @return : 0, or an error code */