aboutsummaryrefslogtreecommitdiff
path: root/src/threading/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading/thread.cpp')
-rw-r--r--src/threading/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading/thread.cpp b/src/threading/thread.cpp
index 4f4c9474a..1909da61d 100644
--- a/src/threading/thread.cpp
+++ b/src/threading/thread.cpp
@@ -252,7 +252,7 @@ DWORD WINAPI Thread::threadProc(LPVOID param)
Thread *thr = (Thread *)param;
#ifdef _AIX
- m_kernel_thread_id = thread_self();
+ thr->m_kernel_thread_id = thread_self();
#endif
thr->setName(thr->m_name);