block: avoid a warning on 64 bit hosts with long as int64_t
commita31335863648d1e707f59296cffb74205aedba96
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 30 Oct 2010 16:46:27 +0000 (30 16:46 +0000)
committerKevin Wolf <kwolf@redhat.com>
Thu, 4 Nov 2010 12:54:37 +0000 (4 13:54 +0100)
tree0e039e7f1fc8b74002c451983c990e92502c49e3
parent1c02e2a17104fe7fc11893125864dc0daf1e6d5b
block: avoid a warning on 64 bit hosts with long as int64_t

When building on a 64 bit host which uses 'long' for int64_t,
GCC emits a warning:
  CC    block/blkverify.o
/src/qemu/block/blkverify.c: In function `blkverify_verify_readv':
/src/qemu/block/blkverify.c:304: warning: long long int format, long
unsigned int arg (arg 3)

Rework a77cffe7e916f4dd28f2048982ea2e0d98143b11 to avoid the warning.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/blkverify.c