summaryrefslogtreecommitdiff
path: root/ACE/examples/C++NPv1
diff options
context:
space:
mode:
authormcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-03-30 18:12:10 +0000
committermcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-03-30 18:12:10 +0000
commit63981d7dfd2903762cd4dfa2d85c8f0dee35725e (patch)
tree3b8d00d72040407c874d7c2b0835aa69a6842f45 /ACE/examples/C++NPv1
parent9219663954130201f248af7200ff6a097bb4204d (diff)
downloadATCD-63981d7dfd2903762cd4dfa2d85c8f0dee35725e.tar.gz
ChangeLogTag: Sat Mar 30 18:11:06 UTC 2013 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/examples/C++NPv1')
-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_);
}