x86_64: fix compilation warning introduced in previous commit

* syscall.c (printcall): Cast x86_64_regs.rip to the type being printed.
This commit is contained in:
Дмитрий Левин 2013-02-05 18:57:16 +00:00
parent df39e56d2d
commit f0f41cfb19

View File

@ -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;