Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
76d55f6
)
THRIFT-1071 invalid cast breaks build
author
Roger Meier
<roger@apache.org>
Tue, 22 Feb 2011 21:56:33 +0000
(21:56 +0000)
committer
Roger Meier
<roger@apache.org>
Tue, 22 Feb 2011 21:56:33 +0000
(21:56 +0000)
Patch: Rowan Kerr
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1073526
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/transport/TSSLSocket.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/transport/TSSLSocket.cpp
b/lib/cpp/src/transport/TSSLSocket.cpp
index
f84f806
..
5e18e94
100644
(file)
--- a/
lib/cpp/src/transport/TSSLSocket.cpp
+++ b/
lib/cpp/src/transport/TSSLSocket.cpp
@@
-478,7
+478,7
@@
static void callbackLocking(int mode, int n, const char*, int) {
#if (OPENSSL_VERSION_NUMBER < OPENSSL_VERSION_NO_THREAD_ID)
static unsigned long callbackThreadID() {
- return
reinterpret_cast<unsigned long>(pthread_self()
);
+ return
(unsigned long) pthread_self(
);
}
#endif