aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortakase1121 <20792268+takase1121@users.noreply.github.com>2024-12-02 11:45:26 +0800
committertakase1121 <20792268+takase1121@users.noreply.github.com>2024-12-02 11:45:26 +0800
commit0042989193139217b410fc912b6c7c9f10c7ec4b (patch)
treeaa4e66b447cec2f9a2a4e008711c64d4daeab137 /src
parent61dba6cb1a5fe4326e628c76633159853a9b718f (diff)
downloadlite-xl-plugin-manager-0042989193139217b410fc912b6c7c9f10c7ec4b.tar.gz
lite-xl-plugin-manager-0042989193139217b410fc912b6c7c9f10c7ec4b.zip
lpm.c: fix syntax error when calling _beginthreadex
Diffstat (limited to 'src')
-rw-r--r--src/lpm.c2
1 files changed, 1 insertions, 1 deletions
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