aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/translate_init.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-25 18:15:32 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-25 18:15:32 +0000
commit26a76461f259031f2c30cd5843a5ca91e056cf03 (patch)
treeb8b67fe1ebe3cebc89dda18045dd3810dc07228a /target-ppc/translate_init.c
parent3b42c9794cb17f6af380dab2f08e1b1618f3b247 (diff)
C99 64 bit printf
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2018 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/translate_init.c')
-rw-r--r--target-ppc/translate_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 012c34f73d..ddf0c9126d 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -252,7 +252,7 @@ static inline void spr_register (CPUPPCState *env, int num,
exit(1);
}
#if defined(PPC_DEBUG_SPR)
- printf("*** register spr %d (%03x) %s val %08llx\n", num, num, name,
+ printf("*** register spr %d (%03x) %s val %08" PRIx64 "\n", num, num, name,
(unsigned long long)initial_value);
#endif
spr->name = name;