From 0042989193139217b410fc912b6c7c9f10c7ec4b Mon Sep 17 00:00:00 2001 From: takase1121 <20792268+takase1121@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:45:26 +0800 Subject: lpm.c: fix syntax error when calling _beginthreadex --- src/lpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lpm.c b/src/lpm.c index 525e95a..9aecd2d 100644 --- a/src/lpm.c +++ b/src/lpm.c @@ -145,7 +145,7 @@ static lpm_thread_t* create_thread(void* (*func)(void*), void* data) { #if _WIN32 thread->func = func; thread->data = data; - thread->thread (HANDLE) _beginthreadex(NULL, 0, &windows_thread_callback, thread, 0, NULL); + thread->thread = (HANDLE) _beginthreadex(NULL, 0, &windows_thread_callback, thread, 0, NULL); #else pthread_create(&thread->thread, NULL, func, data); #endif -- cgit v1.2.3