From: bimbashrestha Date: Mon, 26 Aug 2019 16:00:22 +0000 (-0700) Subject: Using typedef U32 instead of int X-Git-Tag: v1.4.4~1^2~65^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f2bf77f2afebd266c1222e3018e4412b12dd2ec;p=thirdparty%2Fzstd.git Using typedef U32 instead of int --- 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;