diff options
author | mcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-03-30 09:42:31 +0000 |
---|---|---|
committer | mcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2013-03-30 09:42:31 +0000 |
commit | a8feb21c0ba008c25694aeee12bee546529243f0 (patch) | |
tree | 1f070ddfdacf033876b1f707c143586a457d2db5 /ACE/performance-tests | |
parent | c6a1f1b937c077cc3d2106c0b2836037d6d20975 (diff) | |
download | ATCD-a8feb21c0ba008c25694aeee12bee546529243f0.tar.gz |
ChangelogTag: Sat Mar 30 09:30:10 UTC 2013 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/performance-tests')
-rw-r--r-- | ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp b/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp index a9ff3959a42..a307e6e127b 100644 --- a/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp +++ b/ACE/performance-tests/SCTP/SOCK_STREAM_srv.cpp @@ -7,6 +7,7 @@ #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" @@ -311,7 +312,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((int) (acceptor_socket.get_handle()) +1, + int result = ACE_OS::select(ACE_Utils::truncate_cast<int> ((intptr_t)acceptor_socket.get_handle()) +1, (fd_set *) temp, 0, 0, |