提交 74cef80c 编写于 作者: P Peter Crosthwaite 提交者: Stefan Hajnoczi

xilinx_axidma: Fix debug mode compile messages

Missing cast one one of the conditionally compiled printfs.
Signed-off-by: NPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 080251a4
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册