aboutsummaryrefslogtreecommitdiff
path: root/cpu-defs.h
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 /cpu-defs.h
parent3b42c9794cb17f6af380dab2f08e1b1618f3b247 (diff)
downloadqemu-26a76461f259031f2c30cd5843a5ca91e056cf03.zip
qemu-26a76461f259031f2c30cd5843a5ca91e056cf03.tar.gz
qemu-26a76461f259031f2c30cd5843a5ca91e056cf03.tar.bz2
C99 64 bit printf
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2018 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-defs.h')
-rw-r--r--cpu-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-defs.h b/cpu-defs.h
index 665158a..674c0bd 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -47,7 +47,7 @@ typedef uint32_t target_ulong;
#elif TARGET_LONG_SIZE == 8
typedef int64_t target_long;
typedef uint64_t target_ulong;
-#define TARGET_FMT_lx "%016llx"
+#define TARGET_FMT_lx "%016" PRIx64
#else
#error TARGET_LONG_SIZE undefined
#endif