[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 6/6] pflash_cfi01: Fix debug mode printfery
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v2 6/6] pflash_cfi01: Fix debug mode printfery |
Date: |
Mon, 22 Oct 2012 17:19:04 +1000 |
This DPRINTF was throwing a warning due to a missing cast.
Signed-off-by: Peter Crosthwaite <address@hidden>
---
hw/pflash_cfi01.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index 6164a97..90c111d 100644
--- a/hw/pflash_cfi01.c
+++ b/hw/pflash_cfi01.c
@@ -183,7 +183,8 @@ static uint32_t pflash_read (pflash_t *pfl,
target_phys_addr_t 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;
}
--
1.7.0.4
- [Qemu-devel] [PATCH v2 0/6] QOMify pflash_cfi0x + PL353 for Xilinx Zynq, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 1/6] pflash_cfi0x: remove unused base field, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 2/6] pflash_cfi01: remove unused total_len field, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 3/6] pflash_cfi0x: QOMified, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 4/6] hw: Model of Primecell pl35x mem controller, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 5/6] xilinx_zynq: add pl353, Peter Crosthwaite, 2012/10/22
- [Qemu-devel] [PATCH v2 6/6] pflash_cfi01: Fix debug mode printfery,
Peter Crosthwaite <=