static cast required for Solaris
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 8 Apr 2004 15:59:41 +0000 (15:59 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Thu, 8 Apr 2004 15:59:41 +0000 (15:59 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@959 cb58f699-b61c-0410-a6fe-9272a202ed29

shib/ShibConfig.cpp

index 720d225..8eefc9f 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 reinterpret_cast<unsigned long>(pthread_self());
+    return static_cast<unsigned long>(pthread_self());
 }
 #endif