summaryrefslogtreecommitdiff
path: root/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp')
-rw-r--r--ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp b/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
index a307e6e127b..a9ff3959a42 100644
--- a/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
+++ b/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp
@@ -7,7 +7,6 @@
#include "ace/Thread_Manager.h"
#include "ace/Handle_Set.h"
#include "ace/CDR_Stream.h"
-#include "ace/Truncate.h"
// FUZZ: disable check_for_streams_include
#include "ace/streams.h"
@@ -312,7 +311,7 @@ int ACE_TMAIN (int argc, ACE_TCHAR **argv){
// services. So select was needed to wait on both sockets
// simultaneously. In this test we could just call accept on the
// one socket.
- int result = ACE_OS::select(ACE_Utils::truncate_cast<int> ((intptr_t)acceptor_socket.get_handle()) +1,
+ int result = ACE_OS::select((int) (acceptor_socket.get_handle()) +1,
(fd_set *) temp,
0,
0,