The type `sigset_t *` is implicitly casted to `void *`. 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> --- man3/pthread_sigmask.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/pthread_sigmask.3 b/man3/pthread_sigmask.3 index 77fd49a89..87a58728a 100644 --- a/man3/pthread_sigmask.3 +++ b/man3/pthread_sigmask.3 @@ -154,7 +154,7 @@ main(int argc, char *argv[]) if (s != 0) handle_error_en(s, "pthread_sigmask"); - s = pthread_create(&thread, NULL, &sig_thread, (void *) &set); + s = pthread_create(&thread, NULL, &sig_thread, &set); if (s != 0) handle_error_en(s, "pthread_create"); -- 2.28.0