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>
This commit is contained in:
Peter Crosthwaite
2013-01-30 10:31:27 +01:00
committed by Stefan Hajnoczi
parent 080251a464
commit 74cef80c47
+1 -1
View 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;
}