Received: from eggs.gnu.org ([208.118.235.92]:51276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9bcc-0002mF-GT for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:23:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9bcI-0000DN-9k for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:23:34 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:35434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9bcI-0000CR-0Y for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:23:14 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 19 Mar 2012 12:23:10 -0000 Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q2JCN7ME2588918 for ; Mon, 19 Mar 2012 12:23:07 GMT Received: from d06av10.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q2IMCPur015295 for ; Sun, 18 Mar 2012 18:12:25 -0400 From: Stefan Hajnoczi Date: Mon, 19 Mar 2012 12:22:59 +0000 Message-Id: <1332159780-31781-8-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1332159780-31781-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1332159780-31781-1-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 7/8] ioapic: fix build with DEBUG_IOAPIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Jason Wang , qemu-devel@nongnu.org, Stefan Hajnoczi From: Jason Wang ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘uint64_t’ Signed-off-by: Jason Wang Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- hw/ioapic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ioapic.c b/hw/ioapic.c index 3fee011..e2e4796 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; -- 1.7.9.1