From: Peter Crosthwaite Date: Sat, 26 Jan 2013 20:54:35 +0000 (-0800) Subject: xilinx_axidma: Fix debug mode compile messages X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=74cef80c473fe4ce195d5280a34bb2af8492aabb;p=qemu.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 d0ee566a28..cc51584dfc 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; }