]> git.proxmox.com Git - qemu.git/commitdiff
xilinx_axidma: Fix debug mode compile messages
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Sat, 26 Jan 2013 20:54:35 +0000 (12:54 -0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 30 Jan 2013 09:31:27 +0000 (10:31 +0100)
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>
hw/xilinx_axidma.c

index d0ee566a28ec11ff2463c6b15877e794b800b937..cc51584dfc791b3c91821ddab50702582019d920 100644 (file)
@@ -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;
     }