Nit: Fix Size Type for 32-bit

dev
W. Felix Handte 2020-05-12 18:03:31 -04:00
parent 1aa6c7ccce
commit d9a1e37aec
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ static size_t ZSTD_estimateCCtxSize_usingCCtxParams_internal(
const int isStatic,
const size_t buffInSize,
const size_t buffOutSize,
const size_t pledgedSrcSize)
const U64 pledgedSrcSize)
{
size_t const windowSize = MAX(1, (size_t)MIN(((U64)1 << cParams->windowLog), pledgedSrcSize));
size_t const blockSize = MIN(ZSTD_BLOCKSIZE_MAX, windowSize);