diff options
Diffstat (limited to 'tests/Mutex_Test.cpp')
-rw-r--r-- | tests/Mutex_Test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Mutex_Test.cpp b/tests/Mutex_Test.cpp index 9846a495c52..931bf7a9650 100644 --- a/tests/Mutex_Test.cpp +++ b/tests/Mutex_Test.cpp @@ -23,9 +23,10 @@ #include "ace/Thread_Manager.h" #include "test_config.h" -static void -test (ACE_Process_Mutex *pm) +static void * +test (void *args) { + ACE_Process_Mutex *pm = (ACE_Process_Mutex *) args; ACE_Thread_Control tc (ACE_Service_Config::thr_mgr ()); ACE_OS::srand (ACE_OS::time (0)); |