summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-23 17:33:12 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-23 17:33:12 +0000
commit9b605b9eaee7845353f32aed23e8b9085bfa44ee (patch)
treee4150ea6372a563393d2ef2ca0df258190288feb /hw
parent493ae1f01cad47c3b4143059e986ba76e4d5202e (diff)
downloadqemu-9b605b9eaee7845353f32aed23e8b9085bfa44ee.tar.gz
Fix ppc32 register dumps on 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3723 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/ppc_oldworld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ppc_oldworld.c b/hw/ppc_oldworld.c
index f3fe1a9d70..8a1373745c 100644
--- a/hw/ppc_oldworld.c
+++ b/hw/ppc_oldworld.c
@@ -93,7 +93,8 @@ static int vga_osi_call (CPUState *env)
/* R6 = x, R7 = y, R8 = visible, R9 = data */
break;
default:
- fprintf(stderr, "unsupported OSI call R5=" REGX "\n", env->gpr[5]);
+ fprintf(stderr, "unsupported OSI call R5=" REGX "\n",
+ (target_ulong)env->gpr[5]);
break;
}