[Libvir] PATCH: Fix stats overflow

Daniel Hokka Zakrisson daniel at hozac.com
Mon Nov 19 04:07:56 UTC 2007


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

Why not make that 1ULL?

-- 
Daniel Hokka Zakrisson




More information about the libvir-list mailing list