From f0f41cfb1902afe42a728b8cffe878a4a3620def Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 5 Feb 2013 18:57:16 +0000 Subject: [PATCH] x86_64: fix compilation warning introduced in previous commit * syscall.c (printcall): Cast x86_64_regs.rip to the type being printed. --- syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0