瀏覽代碼

Fix: incorporate added bb_thread_t typedef

Ronny Otto 10 月之前
父節點
當前提交
2c068e0e26
共有 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);