From 1f2bf77f2afebd266c1222e3018e4412b12dd2ec Mon Sep 17 00:00:00 2001 From: bimbashrestha Date: Mon, 26 Aug 2019 09:00:22 -0700 Subject: [PATCH] Using typedef U32 instead of int --- lib/compress/zstd_compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;