diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c index d30d43c318322a9eb7ee082df5f5933ee7991932..7d040b508ac6e2332d3a22281d74a52003894f7e 100644 --- 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; }