summaryrefslogtreecommitdiff
path: root/ace/Condition_Recursive_Thread_Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Condition_Recursive_Thread_Mutex.cpp')
-rw-r--r--ace/Condition_Recursive_Thread_Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Condition_Recursive_Thread_Mutex.cpp b/ace/Condition_Recursive_Thread_Mutex.cpp
index 72270ff44d6..509b0a1c2be 100644
--- a/ace/Condition_Recursive_Thread_Mutex.cpp
+++ b/ace/Condition_Recursive_Thread_Mutex.cpp
@@ -80,7 +80,7 @@ ACE_Condition<ACE_Recursive_Thread_Mutex>::wait (ACE_Recursive_Thread_Mutex &mut
&mutex.get_nesting_mutex ())
: ACE_OS::cond_timedwait (&this->cond_,
&mutex.get_nesting_mutex (),
- (ACE_Time_Value *) abstime);
+ const_cast <ACE_Time_Value *> (abstime));
// We are holding the mutex, whether the wait succeeded or failed.
// Stash errno (in case it failed) and then we need to reset the
// recursive mutex state to what it was on entry to this method.