[shibboleth-sp2] 42/100: Switch to C cast for OS X

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 1.2.1
in repository shibboleth-sp2.

commit 341c7dbced213e6ddd6e559fb1e4d3bdfaebcc0e
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Mon Oct 18 03:02:13 2004 +0000

    Switch to C cast for OS X
---
 shib/ShibConfig.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shib/ShibConfig.cpp b/shib/ShibConfig.cpp
index 9632711..4372d77 100644
--- a/shib/ShibConfig.cpp
+++ b/shib/ShibConfig.cpp
@@ -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
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list