mirror of https://github.com/Icinga/icinga2.git
Build fix for OS X.
This commit is contained in:
parent
f332c89f3b
commit
0de728db64
|
@ -36,9 +36,9 @@ static void OpenSSLLockingCallback(int mode, int type, const char *, int)
|
||||||
static unsigned long OpenSSLIDCallback(void)
|
static unsigned long OpenSSLIDCallback(void)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
return static_cast<unsigned long>(GetCurrentThreadId());
|
return reinterpret_cast<unsigned long>(GetCurrentThreadId());
|
||||||
#else /* _WIN32 */
|
#else /* _WIN32 */
|
||||||
return static_cast<unsigned long>(pthread_self());
|
return reinterpret_cast<unsigned long>(pthread_self());
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue