summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp')
-rw-r--r--TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp b/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
index 1d53e88a212..c24bfa7cc24 100644
--- a/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/Basic/Shutdown.cpp
@@ -16,6 +16,8 @@ static void run_test (PortableServer::POA_ptr poa,
int
ACE_TMAIN (int argc, ACE_TCHAR* argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
TAO_CEC_Default_Factory::init_svcs ();
ACE_DECLARE_NEW_CORBA_ENV;
@@ -23,7 +25,7 @@ ACE_TMAIN (int argc, ACE_TCHAR* argv[])
{
// ORB initialization boiler plate...
CORBA::ORB_var orb =
- CORBA::ORB_init (argc, argv, "" ACE_ENV_ARG_PARAMETER);
+ CORBA::ORB_init (convert.get_argc(), convert.get_ASCII_argv(), "" ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
CORBA::Object_var object =