Casting `void *` to `struct child_args *` is already done implicitly. Explicitly casting can silence warnings when mistakes are made, so it's better to remove those casts when possible. Signed-off-by: Alejandro Colomar <colomar.6.4.3@xxxxxxxxx> --- man7/user_namespaces.7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man7/user_namespaces.7 b/man7/user_namespaces.7 index 954a50887..165b1b3d4 100644 --- a/man7/user_namespaces.7 +++ b/man7/user_namespaces.7 @@ -1222,7 +1222,7 @@ proc_setgroups_write(pid_t child_pid, char *str) static int /* Start function for cloned child */ childFunc(void *arg) { - struct child_args *args = (struct child_args *) arg; + struct child_args *args = arg; char ch; /* Wait until the parent has updated the UID and GID mappings. -- 2.28.0