summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Security/Send_File/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/Security/Send_File/client.cpp')
-rw-r--r--TAO/orbsvcs/examples/Security/Send_File/client.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/orbsvcs/examples/Security/Send_File/client.cpp b/TAO/orbsvcs/examples/Security/Send_File/client.cpp
index 4f66f5ffab3..1c930262112 100644
--- a/TAO/orbsvcs/examples/Security/Send_File/client.cpp
+++ b/TAO/orbsvcs/examples/Security/Send_File/client.cpp
@@ -2,6 +2,7 @@
#include "ace/Get_Opt.h"
#include "ace/Read_Buffer.h"
+#include "ace/Argv_Type_Converter.h"
#include "testC.h"
ACE_RCSID(Send_File, client, "$Id$")
@@ -36,13 +37,15 @@ parse_args (int argc, char *argv[])
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
ACE_TRY_NEW_ENV
{
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;
- if (parse_args (argc, argv) != 0)
+ if (parse_args (convert.get_argc(), convert.get_ASCII_argv()) != 0)
return 1;
CORBA::Object_var object =