]> granicus.if.org Git - strace/commit
Fix casts of ptrace's third argument
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 26 Jul 2016 15:59:28 +0000 (15:59 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 26 Jul 2016 16:14:50 +0000 (16:14 +0000)
commit82ffa78acd7ce9b593b5bbb3e89a519a1edff297
treecd3f8be5bea09edcfed7b3195b56da286bd2bee0
parente43bb8dffc643bcafd7b4dd64418acd97bba20d8
Fix casts of ptrace's third argument

* strace.c (maybe_allocate_tcb): Replace "(char *) 0" with NULL
as ptrace's third argument.
* linux/sparc64/get_scno.c (arch_get_scno): Cast third argument
of ptrace to "void *'.
* syscall.c (get_regs): Likewise.
* upeek.c (upeek): Likewise.
* util.c (umoven): Likewise.
linux/sparc64/get_scno.c
strace.c
syscall.c
upeek.c
util.c