Re: Recent changes (master)

Jens Axboe
2016-08-08T13:47:23Z

On 08/08/2016 07:31 AM, Erwan Velu wrote:
> Hey Jens,
>
> Isn't that dangerous to sum many unsigned integers into a signed int ?
> Couldn't this trigger overflows ?
> + sum += io_u_plat[j + k];

It'd probably be more appropriate to have it be an unsigned long at
least, then we could kill the cast as well when we print it.

--
Jens Axboe