diff options
author | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-02 11:45:26 +0800 |
---|---|---|
committer | takase1121 <20792268+takase1121@users.noreply.github.com> | 2024-12-02 11:45:26 +0800 |
commit | 0042989193139217b410fc912b6c7c9f10c7ec4b (patch) | |
tree | aa4e66b447cec2f9a2a4e008711c64d4daeab137 | |
parent | 61dba6cb1a5fe4326e628c76633159853a9b718f (diff) | |
download | lite-xl-plugin-manager-0042989193139217b410fc912b6c7c9f10c7ec4b.tar.gz lite-xl-plugin-manager-0042989193139217b410fc912b6c7c9f10c7ec4b.zip |
lpm.c: fix syntax error when calling _beginthreadex
-rw-r--r-- | src/lpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |