Fix AIX threading build 5134/head
authorShadowNinja <shadowninja@minetest.net>
Sat, 28 Jan 2017 22:23:30 +0000 (17:23 -0500)
committerShadowNinja <shadowninja@minetest.net>
Sat, 28 Jan 2017 23:52:07 +0000 (18:52 -0500)
src/threading/thread.cpp

index 4f4c9474afe0f1a5ddb90330960defd63bd68979..1909da61dff607788f5cbe25ec524a77958ef2f2 100644 (file)
@@ -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);