diff --git a/syscall.c b/syscall.c index d9f7b3b7..9d025741 100644 --- a/syscall.c +++ b/syscall.c @@ -741,7 +741,7 @@ printcall(struct tcb *tcp) tprintf("[%16lx] ", psw); # endif #elif defined(X86_64) || defined(X32) - tprintf("[%16lx] ", x86_64_regs.rip); + tprintf("[%16lx] ", (unsigned long) x86_64_regs.rip); #elif defined(IA64) long ip;