[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] PATCH: Fix stats overflow



Daniel P. Berrange wrote:
> ...
> +        if (stats->wr_bytes >= ((unsigned long long)1)<<(63-9)) {
> ...

Why not make that 1ULL?

-- 
Daniel Hokka Zakrisson


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]