commit | 436d892212dd56401bacf818a238333d30f85c6a | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 29 00:15:59 2011 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Nov 29 00:15:59 2011 +0000 |
tree | f6efbe1d4215c0afd1c8c5493d46e8e71e3850d8 | |
parent | 4d0620dd905311f629229a98d583ebc70b38df08 [diff] [blame] |
strace.c (trace): Fix compilation warning
diff --git a/strace.c b/strace.c index 84c59b7..8f8c74c 100644 --- a/strace.c +++ b/strace.c
@@ -2568,7 +2568,7 @@ # 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 " ---",