From 541dacb636b1aad00c5c067d0d0dc11435981463 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 4 Aug 2014 09:50:30 +0200 Subject: [PATCH] Build fix for Linux (oops) --- lib/base/tlsutility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index dd4522cbd..ff3c10e1b 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -38,7 +38,7 @@ static unsigned long OpenSSLIDCallback(void) #ifdef _WIN32 return reinterpret_cast(GetCurrentThreadId()); #else /* _WIN32 */ - return reinterpret_cast(pthread_self()); + return (unsigned long)pthread_self(); #endif /* _WIN32 */ }