mirror of https://gitee.com/openkylin/qemu.git
pflash_cfi01: Fix debug mode printfery
This DPRINTF was throwing a warning due to a missing cast. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
368a354f02
commit
fc5b64d082
|
@ -182,7 +182,8 @@ static uint32_t pflash_read (pflash_t *pfl, hwaddr offset,
|
||||||
DPRINTF("%s: Device ID Code %04x\n", __func__, ret);
|
DPRINTF("%s: Device ID Code %04x\n", __func__, ret);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DPRINTF("%s: Read Device Information boff=%x\n", __func__, boff);
|
DPRINTF("%s: Read Device Information boff=%x\n", __func__,
|
||||||
|
(unsigned)boff);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue