Преглед на файлове

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
 #ifdef _WIN32
 			auto nativeThread = ::GetCurrentThreadId();
 			auto nativeThread = ::GetCurrentThreadId();
 #else
 #else
-			auto nativeThread = pthread_self();
+			void * nativeThread = (void*)pthread_self();
 #endif
 #endif
 			bbThread = bbThreadRegister(nativeThread);
 			bbThread = bbThreadRegister(nativeThread);