diff options
Diffstat (limited to 'darwin-user')
-rw-r--r-- | darwin-user/commpage.c | 2 | ||||
-rw-r--r-- | darwin-user/syscall.c | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/darwin-user/syscall.c b/darwin-user/syscall.c index d774ad353e..060acc889d 100644 --- a/darwin-user/syscall.c +++ b/darwin-user/syscall.c @@ -858,7 +858,7 @@ long no_syscall(void *cpu_env, int num); long do_pread(uint32_t arg1, void * arg2, size_t arg3, off_t arg4) { - DPRINTF("0x%x, %p, 0x%lx, 0x%llx\n", arg1, arg2, arg3, arg4); + DPRINTF("0x%x, %p, 0x%lx, 0x%" PRIx64 "\n", arg1, arg2, arg3, arg4); long ret = pread(arg1, arg2, arg3, arg4); return ret; } |