From: Dmitry V. Levin Date: Tue, 29 Nov 2011 00:15:59 +0000 (+0000) Subject: strace.c (trace): Fix compilation warning X-Git-Tag: v4.7~224 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=436d892212dd56401bacf818a238333d30f85c6a;p=strace strace.c (trace): Fix compilation warning --- diff --git a/strace.c b/strace.c index 84c59b7b..8f8c74c6 100644 --- a/strace.c +++ b/strace.c @@ -2568,7 +2568,7 @@ trace() # define PC_FORMAT_ARG /* nothing */ #endif printleader(tcp); - if (ptrace(PTRACE_GETSIGINFO, pid, 0, &si) == 0) { + if (ptrace(PTRACE_GETSIGINFO, pid, 0, (long) &si) == 0) { tprints("--- "); printsiginfo(&si, verbose(tcp)); tprintf(" (%s)" PC_FORMAT_STR " ---",