block: fix a warning and possible truncation
commit5ffbbc67b50e71265527e97b7caa74faa0d0b7cc
authorBlue Swirl <blauwirbel@gmail.com>
Mon, 14 Jun 2010 18:55:33 +0000 (14 18:55 +0000)
committerKevin Wolf <kwolf@redhat.com>
Tue, 15 Jun 2010 07:42:30 +0000 (15 09:42 +0200)
tree797b74061bb13def3b64ae5399019409b4e1f9ef
parentbb350a5e9b961a8c3940b3451c329ff07c027aa1
block: fix a warning and possible truncation

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 <blauwirbel@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c