runtime: use correct types in __go_ptrace shim
Make the types of the addr and data arguments in the __go_ptrace shim
match the types declared in Go and the types declared by the C ptrace
function, i.e., void*. This avoids a warning about an implicit
int-to-pointer cast on some platforms.
Trust: Than McIntosh <firstname.lastname@example.org>
Reviewed-by: Ian Lance Taylor <email@example.com>
1 file changed