summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-13 05:44:30 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-13 05:44:30 +0000
commit159dfeb6017c550c445968ad4771056cde93ba18 (patch)
tree0caf68d79fa98c249d10c25cf80c2e07e6392514
parent41ef93a4b13d08bd67f42799d8a0bcdf991ddb8c (diff)
downloadATCD-159dfeb6017c550c445968ad4771056cde93ba18.tar.gz
*** empty log message ***
-rw-r--r--tests/Recursive_Mutex_Test.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/Recursive_Mutex_Test.cpp b/tests/Recursive_Mutex_Test.cpp
index cb81891dea5..e5c23e93a39 100644
--- a/tests/Recursive_Mutex_Test.cpp
+++ b/tests/Recursive_Mutex_Test.cpp
@@ -65,7 +65,9 @@ recursive_worker (size_t nesting_level,
static void *
worker (void *arg)
{
- ACE_Recursive_Thread_Mutex *rm = (ACE_Recursive_Thread_Mutex *) arg;
+ ACE_Recursive_Thread_Mutex *rm =
+ ACE_reinterpret_cast (ACE_Recursive_Thread_Mutex *,
+ arg)
recursive_worker (0, rm);
return 0;
}
@@ -80,8 +82,8 @@ main (int, ASYS_TCHAR *[])
#if defined (ACE_HAS_THREADS)
ACE_Recursive_Thread_Mutex rm;
ACE_Thread_Manager::instance ()->spawn_n (n_threads,
- ACE_THR_FUNC (worker),
- (void *) &rm);
+ ACE_THR_FUNC (worker),
+ (void *) &rm);
ACE_Thread_Manager::instance ()->wait ();
#else
ACE_ERROR ((LM_ERROR,