Use reinterpret_cast to pass pthread_self (pthread_t) into CRYPTO_THREADID_set_pointer (void*).
parent
690909716b
commit
69de6ece31
|
|
@ -663,7 +663,7 @@ void LLCrashLogger::ssl_thread_id_callback(CRYPTO_THREADID* pthreadid)
|
|||
#if LL_WINDOWS
|
||||
CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread());
|
||||
#else
|
||||
CRYPTO_THREADID_set_pointer(pthreadid, pthread_self());
|
||||
CRYPTO_THREADID_set_pointer(pthreadid, reinterpret_cast<void*>(pthread_self()));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue