aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2023-04-01 21:39:19 +0200
committerEli Schwartz <eschwartz93@gmail.com>2023-04-03 15:32:38 -0400
commit3c655bca39384c3be49204491d9a8e138484d719 (patch)
tree740ee0076382645bd1b89aa750bccd60b782e7ac
parentaa550033c8e4752b50220adf8c04c014c3b23581 (diff)
downloadmeson-3c655bca39384c3be49204491d9a8e138484d719.zip
meson-3c655bca39384c3be49204491d9a8e138484d719.tar.gz
meson-3c655bca39384c3be49204491d9a8e138484d719.tar.bz2
tests/94 threads: fix build error with clang 16
It fails with "incompatible-function-pointer-types" otherwise
-rw-r--r--test cases/common/94 threads/threadprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/94 threads/threadprog.c b/test cases/common/94 threads/threadprog.c
index 19130d5..19f35e9 100644
--- a/test cases/common/94 threads/threadprog.c
+++ b/test cases/common/94 threads/threadprog.c
@@ -3,7 +3,7 @@
#include<windows.h>
#include<stdio.h>
-DWORD WINAPI thread_func(void) {
+DWORD WINAPI thread_func(void *arg) {
printf("Printing from a thread.\n");
return 0;
}