diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-07-22 07:44:27 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-07-22 15:31:59 +0000 |
commit | 3b8b030a280f3b496602dc7d2ee5c68e480ec10b (patch) | |
tree | 7e3ee2d388087929995fd8196250e945709336aa | |
parent | d1afc48b7cfdb4490f322d5d82a2aae6d545ec06 (diff) | |
download | qemu-3b8b030a280f3b496602dc7d2ee5c68e480ec10b.zip qemu-3b8b030a280f3b496602dc7d2ee5c68e480ec10b.tar.gz qemu-3b8b030a280f3b496602dc7d2ee5c68e480ec10b.tar.bz2 |
target-sparc: Fix compiler errors (format strings)
This change is needed because commit 06e12b65
now uses an unsigned long long value
(uint64_t && unsigned long long => unsigned long long).
Cc: Tsuneo Saito <tsnsaito@gmail.com>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | target-sparc/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-sparc/helper.c b/target-sparc/helper.c index acc07f5..efab885 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -700,7 +700,7 @@ void dump_mmu(FILE *f, fprintf_function cpu_fprintf, CPUState *env) break; } if (TTE_IS_VALID(env->dtlb[i].tte)) { - (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %" PRIx64 + (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %llx" ", %s, %s, %s, %s, ctx %" PRId64 " %s\n", i, env->dtlb[i].tag & (uint64_t)~0x1fffULL, @@ -737,7 +737,7 @@ void dump_mmu(FILE *f, fprintf_function cpu_fprintf, CPUState *env) break; } if (TTE_IS_VALID(env->itlb[i].tte)) { - (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %" PRIx64 + (*cpu_fprintf)(f, "[%02u] VA: %" PRIx64 ", PA: %llx" ", %s, %s, %s, ctx %" PRId64 " %s\n", i, env->itlb[i].tag & (uint64_t)~0x1fffULL, |