diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-19 05:46:03 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-19 05:46:03 +0000 |
commit | 71c8b8fd7bdf6165e32cc9c9ed6d701d0ad6b3e0 (patch) | |
tree | 8778bf6e4bc72d38831bbeb5fcd40221ced1efdd /target-ppc/cpu.h | |
parent | 5eb7995e34ebf8cf9a3fc43ed2c7af93149d1b0d (diff) |
TARGET_FMT_lu may also be useful.
Fix compilation warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3190 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 8b3fb0360..f36c97924 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -55,12 +55,13 @@ typedef uint64_t ppc_gpr_t; */ typedef uint64_t ppc_gpr_t; #define TARGET_GPR_BITS 64 +#define REGX "%08" PRIx64 #else typedef uint32_t ppc_gpr_t; #define TARGET_GPR_BITS 32 +#define REGX "%08" PRIx32 #endif #define TARGET_LONG_BITS 32 -#define REGX "%08" PRIx32 #define TARGET_PAGE_BITS 12 #endif |