Skip to content
Snippets Groups Projects
Commit 69de6ece authored by Nicky's avatar Nicky Committed by Nat Goodspeed
Browse files

Use reinterpret_cast to pass pthread_self (pthread_t) into CRYPTO_THREADID_set_pointer (void*).

parent 69090971
No related branches found
No related tags found
No related merge requests found
...@@ -663,7 +663,7 @@ void LLCrashLogger::ssl_thread_id_callback(CRYPTO_THREADID* pthreadid) ...@@ -663,7 +663,7 @@ void LLCrashLogger::ssl_thread_id_callback(CRYPTO_THREADID* pthreadid)
#if LL_WINDOWS #if LL_WINDOWS
CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread()); CRYPTO_THREADID_set_pointer(pthreadid, GetCurrentThread());
#else #else
CRYPTO_THREADID_set_pointer(pthreadid, pthread_self()); CRYPTO_THREADID_set_pointer(pthreadid, reinterpret_cast<void*>(pthread_self()));
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment