diff options
author | Jason Wang | 2012-03-19 04:19:57 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2012-03-19 12:30:56 +0100 |
commit | 0c1f781b7c8ddd79ca15c20b59afa2be69d18295 (patch) | |
tree | 1862ca07b5fefdf95abb58333117a656ae5a87c8 /hw/ioapic.c | |
parent | .gitignore: add qemu-bridge-helper and option rom build products (diff) | |
download | qemu-0c1f781b7c8ddd79ca15c20b59afa2be69d18295.tar.gz qemu-0c1f781b7c8ddd79ca15c20b59afa2be69d18295.tar.xz qemu-0c1f781b7c8ddd79ca15c20b59afa2be69d18295.zip |
ioapic: fix build with DEBUG_IOAPIC
ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/ioapic.c')
-rw-r--r-- | hw/ioapic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ioapic.c b/hw/ioapic.c index 3fee0114d9..e2e4796bb5 100644 --- a/hw/ioapic.c +++ b/hw/ioapic.c @@ -195,7 +195,7 @@ ioapic_mem_write(void *opaque, target_phys_addr_t addr, uint64_t val, if (size != 4) { break; } - DPRINTF("write: %08x = %08x\n", s->ioregsel, val); + DPRINTF("write: %08x = %08" PRIx64 "\n", s->ioregsel, val); switch (s->ioregsel) { case IOAPIC_REG_ID: s->id = (val >> IOAPIC_ID_SHIFT) & IOAPIC_ID_MASK; |