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);