diff options
author | Konrad Grochowski <hcorg@minions.org.pl> | 2014-07-08 19:22:44 +0200 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2014-07-08 23:03:08 +0200 |
commit | b7af66e1899fcaf66166ef7d5a8ab9fca15ee033 (patch) | |
tree | f8a5d4b625afc7c1fce1c5c69a74ab2e010b07ef | |
parent | 6f86f9ac583a9ce088568fb149f58bf0d88ee549 (diff) | |
download | thrift-b7af66e1899fcaf66166ef7d5a8ab9fca15ee033.tar.gz |
THRIFT-2614 - C++ Library - TNonblockingServer.cpp MSVC warning removed
Signed-off-by: Roger Meier <roger@apache.org>
-rw-r--r-- | lib/cpp/src/thrift/server/TNonblockingServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp index 7bd42e246..86a96c673 100644 --- a/lib/cpp/src/thrift/server/TNonblockingServer.cpp +++ b/lib/cpp/src/thrift/server/TNonblockingServer.cpp @@ -265,7 +265,7 @@ class TNonblockingServer::TConnection { * @param v void* callback arg where we placed TConnection's "this". */ static void eventHandler(evutil_socket_t fd, short /* which */, void* v) { - assert(fd == ((TConnection*)v)->getTSocket()->getSocketFD()); + assert(fd == static_cast<evutil_socket_t>(((TConnection*)v)->getTSocket()->getSocketFD())); ((TConnection*)v)->workSocket(); } |