diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-10-23 15:43:21 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-10-23 15:43:21 +0200 |
commit | 0ab6b912c087235e5358982f4ab62dec94bf10d9 (patch) | |
tree | 4debd808d3ad17798e5a759d2630e3139aaf110a /ACE/tests | |
parent | f63fd23cdbaafd7a8c17095198193421476ee9f2 (diff) | |
download | ATCD-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.cpp | 5 |
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) |