瀏覽代碼

Fixed Linux thread type.

Brucey 5 年之前
父節點
當前提交
6dd116ee09
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      steamsdk.mod/glue/glue.cpp

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

@@ -381,7 +381,7 @@ public:
 #ifdef _WIN32
 			auto nativeThread = ::GetCurrentThreadId();
 #else
-			auto nativeThread = pthread_self();
+			void * nativeThread = (void*)pthread_self();
 #endif
 			bbThread = bbThreadRegister(nativeThread);