From b81cbbade1c38836ff6ab39ea263680a6edcec34 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 30 May 2016 22:29:45 +0200 Subject: [PATCH] fixed minor conversion warning --- programs/fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/fuzzer.c b/programs/fuzzer.c index fef2edaa9..7fbf906ce 100644 --- a/programs/fuzzer.c +++ b/programs/fuzzer.c @@ -244,7 +244,7 @@ static int basicUnitTests(U32 seed, double compressibility) void* dictBuffer = malloc(dictSize); size_t const totalSampleSize = 1 MB; size_t const sampleUnitSize = 8 KB; - U32 const nbSamples = totalSampleSize / sampleUnitSize; + U32 const nbSamples = (U32)(totalSampleSize / sampleUnitSize); size_t* const samplesSizes = (size_t*) malloc(nbSamples * sizeof(size_t)); if (dictBuffer==NULL || samplesSizes==NULL) { -- 2.47.2