Fix overflow in percentile calculation for Windows
authorAndrzej Jakowski <andrzej.jakowski@intel.com>
Wed, 11 Oct 2017 22:26:00 +0000 (16:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Oct 2017 22:26:00 +0000 (16:26 -0600)
commit447b94e10bddab8078f35c423ca1e3c3f0b1be38
tree5f41561e6b0fc54c45296bacd556855d614631c9
parent2b6fa5c9c875492b7000dfccca3b44118700e8dc
Fix overflow in percentile calculation for Windows

This patch fixes percentile calculation for Windows where overflow
on 32 bit type happened while calculating actual percentiles.

Signed-off-by: Andrzej Jakowski <andrzej.jakowski@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stat.c