mirror of https://gitee.com/openkylin/qemu.git
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:
parent
080251a464
commit
74cef80c47
|
@ -444,7 +444,7 @@ static void axidma_write(void *opaque, hwaddr addr,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
D(qemu_log("%s: ch=%d addr=" TARGET_FMT_plx " v=%x\n",
|
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;
|
s->regs[addr] = value;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue