فهرست منبع

Merge pull request #5 from GWRon/fix_threadadjustments

Fix: incorporate added bb_thread_t typedef
Brucey 8 ماه پیش
والد
کامیت
21a97fc32a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      steamsdk.mod/glue/glue.cpp

+ 2 - 2
steamsdk.mod/glue/glue.cpp

@@ -380,9 +380,9 @@ public:
         th = std::thread([=]() {
 
 #ifdef _WIN32
-			auto nativeThread = ::GetCurrentThreadId();
+			bb_thread_t nativeThread = ::GetCurrentThreadId();
 #else
-			void * nativeThread = (void*)pthread_self();
+			bb_thread_t nativeThread = pthread_self();
 #endif
 			bbThread = bbThreadRegister(nativeThread);