summaryrefslogtreecommitdiffstats
path: root/hw/sh7750.c
diff options
context:
space:
mode:
authorbalrog2008-07-16 14:13:52 +0200
committerbalrog2008-07-16 14:13:52 +0200
commit526ccb7a26fea4b07eae4d34c8ad0599802a93ce (patch)
tree34ff707ff9bc0d57dd583c1b19f683defcfea80a /hw/sh7750.c
parentFlushw can generate exceptions, so save PC & NPC (diff)
downloadqemu-526ccb7a26fea4b07eae4d34c8ad0599802a93ce.tar.gz
qemu-526ccb7a26fea4b07eae4d34c8ad0599802a93ce.tar.xz
qemu-526ccb7a26fea4b07eae4d34c8ad0599802a93ce.zip
Fix a bunch of type mismatch-related warnings (Jan Kiszka).
Fix a typo in my previous comming (spotted by Laurent Desnouges). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4877 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sh7750.c')
-rw-r--r--hw/sh7750.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sh7750.c b/hw/sh7750.c
index a60a83ba66..a76e6d4d3c 100644
--- a/hw/sh7750.c
+++ b/hw/sh7750.c
@@ -182,13 +182,13 @@ static void portb_changed(SH7750State * s, uint16_t prev)
static void error_access(const char *kind, target_phys_addr_t addr)
{
- fprintf(stderr, "%s to %s (0x%08x) not supported\n",
+ fprintf(stderr, "%s to %s (0x" TARGET_FMT_plx ") not supported\n",
kind, regname(addr), addr);
}
static void ignore_access(const char *kind, target_phys_addr_t addr)
{
- fprintf(stderr, "%s to %s (0x%08x) ignored\n",
+ fprintf(stderr, "%s to %s (0x" TARGET_FMT_plx ") ignored\n",
kind, regname(addr), addr);
}