summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2002-02-02 17:46:11 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2002-02-02 17:46:11 +0000
commitf40e13defd4d0f7448c9879d99e69320736a0570 (patch)
treebfe996a45e7ca7399a85269c1c96e1a4d6fdf928
parentdb6a41aa83d8b2e9bc668845464871cbf1c601ae (diff)
downloadATCD-f40e13defd4d0f7448c9879d99e69320736a0570.tar.gz
ChangeLogTag:Sat Feb 2 07:45:51 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
-rw-r--r--ace/Select_Reactor_T.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/Select_Reactor_T.cpp b/ace/Select_Reactor_T.cpp
index 45a7dbd47d5..4f9575dc083 100644
--- a/ace/Select_Reactor_T.cpp
+++ b/ace/Select_Reactor_T.cpp
@@ -964,8 +964,10 @@ ACE_Select_Reactor_T<ACE_SELECT_REACTOR_TOKEN>::work_pending (const ACE_Time_Val
ACE_MT (ACE_GUARD_RETURN (ACE_SELECT_REACTOR_TOKEN, ace_mon, this->token_, -1));
ACE_Time_Value timer_buf (0);
- ACE_Time_Value *this_timeout =
- this->timer_queue_->calculate_timeout (&max_wait_time,
+ ACE_Time_Value *max_wait_timep = ACE_const_cast (ACE_Time_Value *,
+ &max_wait_time);
+ ACE_Time_Value *this_timeout =
+ this->timer_queue_->calculate_timeout (max_wait_timep,
&timer_buf);
u_long width = (u_long) this->handler_rep_.max_handlep1 ();