summaryrefslogtreecommitdiff
path: root/TAO/tests/POA/Current/Current.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/POA/Current/Current.cpp')
-rw-r--r--TAO/tests/POA/Current/Current.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tests/POA/Current/Current.cpp b/TAO/tests/POA/Current/Current.cpp
index cfb3e541f38..af24e291645 100644
--- a/TAO/tests/POA/Current/Current.cpp
+++ b/TAO/tests/POA/Current/Current.cpp
@@ -21,18 +21,21 @@
#include "tao/PortableServer/PortableServer.h"
#include "ace/Log_Msg.h"
+#include "ace/Argv_Type_Converter.h"
int
-main (int argc, char **argv)
+ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
// Initialize the ORB first.
CORBA::ORB_var orb =
- CORBA::ORB_init (argc,
- argv,
+ CORBA::ORB_init (convert.get_argc(),
+ convert.get_ASCII_argv(),
0
ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;