mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return static_cast<unsigned long>(GetCurrentThreadId());
|
||||
return reinterpret_cast<unsigned long>(GetCurrentThreadId());
|
||||
#else /* _WIN32 */
|
||||
return static_cast<unsigned long>(pthread_self());
|
||||
return reinterpret_cast<unsigned long>(pthread_self());
|
||||
#endif /* _WIN32 */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user