From 928684128eed56b3c4f4d2300c9cd34d21d02b0c Mon Sep 17 00:00:00 2001 From: j_mayer Date: Fri, 21 Sep 2007 06:09:39 +0000 Subject: Avoid compilation warnings on 64 bits hosts. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3202 c046a42c-6fe2-441c-8c8c-71466251a162 --- block-vmdk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'block-vmdk.c') diff --git a/block-vmdk.c b/block-vmdk.c index 02335f7afb..ad22700346 100644 --- a/block-vmdk.c +++ b/block-vmdk.c @@ -659,7 +659,8 @@ static int vmdk_write(BlockDriverState *bs, int64_t sector_num, if (sector_num > bs->total_sectors) { fprintf(stderr, - "(VMDK) Wrong offset: sector_num=0x%llx total_sectors=0x%llx\n", + "(VMDK) Wrong offset: sector_num=0x%" PRIx64 + " total_sectors=0x%" PRIx64 "\n", sector_num, bs->total_sectors); return -1; } -- cgit v1.2.3