From: W. Felix Handte Date: Wed, 11 Sep 2019 17:59:09 +0000 (-0400) Subject: Fix Compilation Error (`uint32_t` -> `size_t`) X-Git-Tag: v1.4.4~1^2~49^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff67c62458869928680cb6c856299214f75d6d94;p=thirdparty%2Fzstd.git Fix Compilation Error (`uint32_t` -> `size_t`) --- diff --git a/tests/fuzzer.c b/tests/fuzzer.c index cfe477d31..0956b9c5e 100644 --- a/tests/fuzzer.c +++ b/tests/fuzzer.c @@ -2153,8 +2153,8 @@ static int basicUnitTests(U32 const seed, double compressibility) DISPLAYLEVEL(3, "test%3i : table cleanliness through index reduction : ", testNb++); { int cLevel; - uint32_t approxIndex = 0; - uint32_t maxIndex = ((3U << 29) + (1U << ZSTD_WINDOWLOG_MAX)); /* ZSTD_CURRENT_MAX from zstd_compress_internal.h */ + size_t approxIndex = 0; + size_t maxIndex = ((3U << 29) + (1U << ZSTD_WINDOWLOG_MAX)); /* ZSTD_CURRENT_MAX from zstd_compress_internal.h */ /* vastly overprovision space in a static context so that we can do all * this without ever reallocating, which would reset the indices */