From 3c655bca39384c3be49204491d9a8e138484d719 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 1 Apr 2023 21:39:19 +0200 Subject: tests/94 threads: fix build error with clang 16 It fails with "incompatible-function-pointer-types" otherwise --- test cases/common/94 threads/threadprog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include -DWORD WINAPI thread_func(void) { +DWORD WINAPI thread_func(void *arg) { printf("Printing from a thread.\n"); return 0; } -- cgit v1.1