diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 7ea929aff..62261f6f3 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -2283,7 +2283,7 @@ static size_t ZSTD_compressBlock_internal(ZSTD_CCtx* zc, This isn't the actual upper bound. Finding the real threshold needs further investigation. */ - const int rleMaxLength = 25; + const U32 rleMaxLength = 25; size_t cSize; const BYTE* ip = (const BYTE*)src; BYTE* op = (BYTE*)dst;