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:
Peter Crosthwaite 2012-10-30 07:45:11 +00:00 committed by Peter Maydell
parent 368a354f02
commit fc5b64d082
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }