diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 08:02:12 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 08:02:12 +0000 |
commit | 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2 (patch) | |
tree | 3a2d53ae75005891bf4dd662465cc1cffab36f0b /darwin-user/commpage.c | |
parent | 4556bd8b2514a55d48c15b1adb17537f49657744 (diff) |
Fix %lld or %llx printf format use
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'darwin-user/commpage.c')
-rw-r--r-- | darwin-user/commpage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin-user/commpage.c b/darwin-user/commpage.c index 2b41bc5e3a..f6aa71e058 100644 --- a/darwin-user/commpage.c +++ b/darwin-user/commpage.c @@ -237,7 +237,7 @@ void do_compare_and_swap64(void *cpu_env, int num) uint64_t *value = (uint64_t*)((CPUX86State*)cpu_env)->regs[R_ESI]; old = (uint64_t)((uint64_t)((CPUX86State*)cpu_env)->regs[R_EDX]) << 32 | (uint64_t)((CPUX86State*)cpu_env)->regs[R_EAX]; - DPRINTF("commpage: compare_and_swap64(%llx,new,%p)\n", old, value); + DPRINTF("commpage: compare_and_swap64(%" PRIx64 ",new,%p)\n", old, value); swapped_val = tswap64(*value); if(old == swapped_val) |