projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368a354
)
pflash_cfi01: Fix debug mode printfery
author
Peter Crosthwaite
<peter.crosthwaite@xilinx.com>
Tue, 30 Oct 2012 07:45:11 +0000
(07:45 +0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Tue, 30 Oct 2012 07:45:11 +0000
(07:45 +0000)
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>
hw/pflash_cfi01.c
patch
|
blob
|
history
diff --git
a/hw/pflash_cfi01.c
b/hw/pflash_cfi01.c
index d30d43c318322a9eb7ee082df5f5933ee7991932..7d040b508ac6e2332d3a22281d74a52003894f7e 100644
(file)
--- a/
hw/pflash_cfi01.c
+++ b/
hw/pflash_cfi01.c
@@
-182,7
+182,8
@@
static uint32_t pflash_read (pflash_t *pfl, hwaddr offset,
DPRINTF("%s: Device ID Code %04x\n", __func__, ret);
break;
default:
- DPRINTF("%s: Read Device Information boff=%x\n", __func__, boff);
+ DPRINTF("%s: Read Device Information boff=%x\n", __func__,
+ (unsigned)boff);
ret = 0;
break;
}