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