summaryrefslogtreecommitdiff
path: root/ace/Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Event.cpp')
-rw-r--r--ace/Event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Event.cpp b/ace/Event.cpp
index 06c14937acd..fde6f78840c 100644
--- a/ace/Event.cpp
+++ b/ace/Event.cpp
@@ -55,7 +55,7 @@ int
ACE_Event::wait (const ACE_Time_Value *abstime, int use_absolute_time)
{
return ACE_OS::event_timedwait (&this->handle_,
- (ACE_Time_Value *) abstime,
+ const_cast <ACE_Time_Value *> (abstime),
use_absolute_time);
}