summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/IOR_MCast/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/IOR_MCast/client.cpp')
-rw-r--r--TAO/orbsvcs/tests/IOR_MCast/client.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/IOR_MCast/client.cpp b/TAO/orbsvcs/tests/IOR_MCast/client.cpp
index 7a79bec47bc..209879f40fd 100644
--- a/TAO/orbsvcs/tests/IOR_MCast/client.cpp
+++ b/TAO/orbsvcs/tests/IOR_MCast/client.cpp
@@ -1,9 +1,11 @@
// $Id$
#include "ior_mcast_client_i.h"
+#include "ace/Argv_Type_Converter.h"
-int main (int argc, char *argv [])
+int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
ACE_DECLARE_NEW_CORBA_ENV;
@@ -13,7 +15,7 @@ int main (int argc, char *argv [])
ior_mcast_Client_i client;
int init_result;
- init_result = client.init (argc, argv ACE_ENV_ARG_PARAMETER);
+ init_result = client.init (convert.get_argc(), convert.get_ASCII_argv() ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
return 0;