]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Using typedef U32 instead of int
authorbimbashrestha <bshrestha.msae@gmail.com>
Mon, 26 Aug 2019 16:00:22 +0000 (09:00 -0700)
committerbimbashrestha <bshrestha.msae@gmail.com>
Mon, 26 Aug 2019 16:00:22 +0000 (09:00 -0700)
lib/compress/zstd_compress.c

index 7ea929aff1ab7ab7031d317f8d7ecbb4321fc7d6..62261f6f357d3de9f19595bddb14b80929cd2e02 100644 (file)
@@ -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;