diff options
Diffstat (limited to 'TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Supplier.cpp')
-rw-r--r-- | TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Supplier.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Supplier.cpp b/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Supplier.cpp index 56753496d21..7f2286132ff 100644 --- a/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Supplier.cpp +++ b/TAO/orbsvcs/examples/Log/RTEvent/RTEvent_Supplier.cpp @@ -3,6 +3,7 @@ #include "orbsvcs/Event_Service_Constants.h" #include "ace/OS_main.h" #include "ace/OS_NS_unistd.h" +#include "ace/Argv_Type_Converter.h" ACE_RCSID (RTEvent, RTEvent_Supplier, @@ -18,9 +19,11 @@ ACE_RCSID (RTEvent, int ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { + ACE_Argv_Type_Converter convert (argc, argv); + Supplier supplier; - return supplier.run (argc, argv); + return supplier.run (convert.get_argc(), convert.get_ASCII_argv()); } @@ -31,7 +34,7 @@ Supplier::Supplier (void) } int -Supplier::run (int argc, ACE_TCHAR* argv[]) +Supplier::run (int argc, char* argv[]) { ACE_DECLARE_NEW_CORBA_ENV; ACE_TRY |