Browse Source

Fix: incorporate added bb_thread_t typedef

Ronny Otto 10 tháng trước cách đây
mục cha
commit
2c068e0e26
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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);