qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] block: fix a warning and possible truncation


From: Kevin Wolf
Subject: [Qemu-devel] Re: [PATCH] block: fix a warning and possible truncation
Date: Tue, 15 Jun 2010 09:52:08 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Thunderbird/3.0.4

Am 14.06.2010 20:55, schrieb Blue Swirl:
> Fix a warning from OpenBSD gcc (3.3.5 (propolice)):
> /src/qemu/block.c: In function `bdrv_info_stats_bs':
> /src/qemu/block.c:1548: warning: long long int format, long unsigned
> int arg (arg 6)
> 
> There may be also truncation effects.
> 
> Signed-off-by: Blue Swirl <address@hidden>

Thanks, applied to the block branch.

But why is this even needed? wr_highest_sector is already uint64_t, so
wouldn't you expect the result to be uint64_t, too?

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]