From 436d892212dd56401bacf818a238333d30f85c6a Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 29 Nov 2011 00:15:59 +0000 Subject: [PATCH] strace.c (trace): Fix compilation warning --- strace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " ---", -- 2.40.0