From cb976c7e17009310ce4a54ba9fe9613e94a9c886 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 20 Feb 2023 07:29:49 -0300 Subject: [PATCH] os: fix the declaration of `C.ptrace` (the 4th parameter is a pointer, not an integer) (#17366) --- vlib/os/os_nix.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/os/os_nix.c.v b/vlib/os/os_nix.c.v index f5d546ef5a..b4e1fb194c 100644 --- a/vlib/os/os_nix.c.v +++ b/vlib/os/os_nix.c.v @@ -64,7 +64,7 @@ fn C.getgid() int fn C.getegid() int -fn C.ptrace(u32, u32, voidptr, int) u64 +fn C.ptrace(u32, u32, voidptr, voidptr) u64 enum GlobMatch { exact