From: Dmitry V. Levin Date: Tue, 5 Feb 2013 18:57:16 +0000 (+0000) Subject: x86_64: fix compilation warning introduced in previous commit X-Git-Tag: v4.8~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0f41cfb1902afe42a728b8cffe878a4a3620def;p=strace x86_64: fix compilation warning introduced in previous commit * syscall.c (printcall): Cast x86_64_regs.rip to the type being printed. --- 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;