Build fix for Linux (oops)

This commit is contained in:
Gunnar Beutner 2014-08-04 09:50:30 +02:00
parent d8619cce6d
commit 541dacb636

View File

@ -38,7 +38,7 @@ static unsigned long OpenSSLIDCallback(void)
#ifdef _WIN32
return reinterpret_cast<unsigned long>(GetCurrentThreadId());
#else /* _WIN32 */
return reinterpret_cast<unsigned long>(pthread_self());
return (unsigned long)pthread_self();
#endif /* _WIN32 */
}