diff options
Diffstat (limited to 'ACE/examples/C++NPv1/Reactive_Logging_Server.h')
-rw-r--r-- | ACE/examples/C++NPv1/Reactive_Logging_Server.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/examples/C++NPv1/Reactive_Logging_Server.h b/ACE/examples/C++NPv1/Reactive_Logging_Server.h index ccabc6a88fe..e7558a16e34 100644 --- a/ACE/examples/C++NPv1/Reactive_Logging_Server.h +++ b/ACE/examples/C++NPv1/Reactive_Logging_Server.h @@ -13,7 +13,6 @@ #include "ace/Log_Record.h" #include "ace/Handle_Set.h" #include "ace/Basic_Types.h" -#include "ace/Truncate.h" #include "ace/os_include/os_fcntl.h" #include "Iterative_Logging_Server.h" @@ -36,7 +35,7 @@ protected: virtual int wait_for_multiple_events () { active_handles_ = master_handle_set_; - int width = ACE_Utils::truncate_cast<int> ((intptr_t)active_handles_.max_set ()) + 1; + int width = (int)active_handles_.max_set () + 1; if (select (width, active_handles_.fdset (), 0, // no write_fds |