From 87ca35ef63e6f5ecfbf0de0c7e0d3eac995fafb1 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sun, 20 Oct 2024 09:51:31 +0200 Subject: [PATCH] fix handle id init --- src/thread/win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/win32.c b/src/thread/win32.c index 3f40daaa2..7de4f3414 100644 --- a/src/thread/win32.c +++ b/src/thread/win32.c @@ -108,8 +108,8 @@ int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) goto out; } - *thr.hdl = (HANDLE)handle; - *thr.id = GetThreadId(handle); + thr->hdl = (HANDLE)handle; + thr->id = GetThreadId(handle); out: if (err) mem_deref(th);