static cast required for Solaris
authorScott Cantor <cantor.2@osu.edu>
Thu, 8 Apr 2004 15:59:41 +0000 (15:59 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 8 Apr 2004 15:59:41 +0000 (15:59 +0000)
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