Fix Compilation Error (`uint32_t` -> `size_t`)

dev
W. Felix Handte 2019-09-11 13:59:09 -04:00
parent 5707c8a9d5
commit ff67c62458
1 changed files with 2 additions and 2 deletions

View File

@ -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 */