summaryrefslogtreecommitdiff
path: root/ACE/tests
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-10-23 15:43:21 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-10-23 15:43:21 +0200
commit0ab6b912c087235e5358982f4ab62dec94bf10d9 (patch)
tree4debd808d3ad17798e5a759d2630e3139aaf110a /ACE/tests
parentf63fd23cdbaafd7a8c17095198193421476ee9f2 (diff)
downloadATCD-0ab6b912c087235e5358982f4ab62dec94bf10d9.tar.gz
Corrected worker signature to resolve gcc warnings
* ACE/tests/Reactor_Exceptions_Test.cpp:
Diffstat (limited to 'ACE/tests')
-rw-r--r--ACE/tests/Reactor_Exceptions_Test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/tests/Reactor_Exceptions_Test.cpp b/ACE/tests/Reactor_Exceptions_Test.cpp
index 99d19eef281..fdb1ade0012 100644
--- a/ACE/tests/Reactor_Exceptions_Test.cpp
+++ b/ACE/tests/Reactor_Exceptions_Test.cpp
@@ -101,8 +101,8 @@ public:
};
#if defined (ACE_HAS_THREADS)
-static int
-worker ()
+static void*
+worker (void*)
{
ACE_Reactor::instance ()->owner (ACE_OS::thr_self ());
@@ -139,7 +139,6 @@ run_main (int argc, ACE_TCHAR *argv[])
// own scope
My_Handler handler (local_addr);
-
if (ACE_Reactor::instance ()->register_handler
(&handler,
ACE_Event_Handler::READ_MASK) == -1)