From: Peter Crosthwaite Date: Sat, 26 Jan 2013 20:54:35 +0000 (-0800) Subject: xilinx_axidma: Fix debug mode compile messages X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~1290^2~14 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=74cef80c473fe4ce195d5280a34bb2af8492aabb;p=qemu-upstream-4.6-testing.git xilinx_axidma: Fix debug mode compile messages Missing cast one one of the conditionally compiled printfs. Signed-off-by: Peter Crosthwaite Signed-off-by: Stefan Hajnoczi --- diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c index d0ee566a2..cc51584df 100644 --- a/hw/xilinx_axidma.c +++ b/hw/xilinx_axidma.c @@ -444,7 +444,7 @@ static void axidma_write(void *opaque, hwaddr addr, break; default: D(qemu_log("%s: ch=%d addr=" TARGET_FMT_plx " v=%x\n", - __func__, sid, addr * 4, value)); + __func__, sid, addr * 4, (unsigned)value)); s->regs[addr] = value; break; }