Porting changes from 1.2 branch
[shibboleth/sp.git] / shib / ShibConfig.cpp
index 9632711..4372d77 100644 (file)
@@ -92,7 +92,7 @@ extern "C" void openssl_locking_callback(int mode,int n,const char *file,int lin
 #ifndef WIN32
 extern "C" unsigned long openssl_thread_id(void)
 {
-    return static_cast<unsigned long>(pthread_self());
+    return (unsigned long)(pthread_self());
 }
 #endif