Fixed minor conversion warning

This commit is contained in:
Yann Collet 2016-04-11 01:47:10 +02:00
parent c51aa6ccce
commit 81e493651a

View File

@ -211,7 +211,7 @@ void RDG_genStdout(unsigned long long size, double matchProba, double litProba,
/* Generate compressible data */ /* Generate compressible data */
while (total < size) { while (total < size) {
size_t const genBlockSize = MIN (RDG_BLOCKSIZE, size-total); size_t const genBlockSize = (size_t) (MIN (RDG_BLOCKSIZE, size-total));
RDG_genBlock(buff, RDG_DICTSIZE+RDG_BLOCKSIZE, RDG_DICTSIZE, matchProba, ldt, &seed); RDG_genBlock(buff, RDG_DICTSIZE+RDG_BLOCKSIZE, RDG_DICTSIZE, matchProba, ldt, &seed);
total += genBlockSize; total += genBlockSize;
{ size_t const unused = fwrite(buff, 1, genBlockSize, stdout); (void)unused; } { size_t const unused = fwrite(buff, 1, genBlockSize, stdout); (void)unused; }