aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/translate.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-11-17 13:01:04 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-12-26 00:29:49 +0100
commit6c33286ad3a432627d763ee93aa42200cbb68269 (patch)
treedd924869e0558a1bea126c9b36b4fc4c40dd30ae /target-s390x/translate.c
parent9ed5726c043958359b0f1fa44ab3e4f25f9d9a47 (diff)
s390: compile fixes
The s390 target doesn't compile out of the box anymore. This patch fixes all the obvious glitches that got introduced in the last few weeks. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-s390x/translate.c')
-rw-r--r--target-s390x/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 881d8c4acf..d33bfb1f31 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -36,7 +36,7 @@ void cpu_dump_state(CPUState *env, FILE *f, fprintf_function cpu_fprintf,
}
}
for (i = 0; i < 16; i++) {
- cpu_fprintf(f, "F%02d=%016lx", i, env->fregs[i]);
+ cpu_fprintf(f, "F%02d=%016lx", i, (long)env->fregs[i].i);
if ((i % 4) == 3) {
cpu_fprintf(f, "\n");
} else {