From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9TD8-0005RE-0T for qemu-devel@nongnu.org; Sun, 18 Mar 2012 23:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9TD6-0000Hf-FQ for qemu-devel@nongnu.org; Sun, 18 Mar 2012 23:24:41 -0400 From: Jason Wang Date: Mon, 19 Mar 2012 11:19:57 +0800 Message-ID: <20120319031957.17031.94258.stgit@amd-6168-8-1.englab.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [REPOST PATCH] ioapic: fix build with DEBUG_IOAPIC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com Cc: afaerber@suse.de ioapic.c:198: error: format =E2=80=98%08x=E2=80=99 expects type =E2=80=98= unsigned int=E2=80=99, but argument 3 has type =E2=80=98uint64_t=E2=80=99 Signed-off-by: Jason Wang --- 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 add= r, uint64_t val, if (size !=3D 4) { break; } - DPRINTF("write: %08x =3D %08x\n", s->ioregsel, val); + DPRINTF("write: %08x =3D %08" PRIx64 "\n", s->ioregsel, val); switch (s->ioregsel) { case IOAPIC_REG_ID: s->id =3D (val >> IOAPIC_ID_SHIFT) & IOAPIC_ID_MASK;