diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2013-01-26 12:54:35 -0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-01-30 10:31:27 +0100 |
commit | 74cef80c473fe4ce195d5280a34bb2af8492aabb (patch) | |
tree | 5a1fd92d762dc055c5b7e7694f220f3bc4cd998c | |
parent | 080251a46493e4e4cb6cbd6e2878d31c7cf023c5 (diff) | |
download | qemu-74cef80c473fe4ce195d5280a34bb2af8492aabb.zip qemu-74cef80c473fe4ce195d5280a34bb2af8492aabb.tar.gz qemu-74cef80c473fe4ce195d5280a34bb2af8492aabb.tar.bz2 |
xilinx_axidma: Fix debug mode compile messages
Missing cast one one of the conditionally compiled printfs.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
-rw-r--r-- | hw/xilinx_axidma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c index d0ee566..cc51584 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; } |