summaryrefslogtreecommitdiff
path: root/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h')
-rw-r--r--ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h b/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h
index 912d454840b..31f25498b7e 100644
--- a/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h
+++ b/ACE/examples/C++NPv1/Reactive_Logging_Server_Ex.h
@@ -47,7 +47,7 @@ protected:
virtual int wait_for_multiple_events () {
active_read_handles_ = master_handle_set_;
- int width = ACE_Utils::truncate_cast<int> (active_read_handles_.max_set ()) + 1;
+ int width = ACE_Utils::truncate_cast<int> ((intptr_t)active_read_handles_.max_set ()) + 1;
return ACE::select (width, active_read_handles_);
}