From 0ab6b912c087235e5358982f4ab62dec94bf10d9 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sat, 23 Oct 2021 15:43:21 +0200 Subject: Corrected worker signature to resolve gcc warnings * ACE/tests/Reactor_Exceptions_Test.cpp: --- ACE/tests/Reactor_Exceptions_Test.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ACE/tests') 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) -- cgit v1.2.1