diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Time/client.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Time/client.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/Time/client.cpp b/TAO/orbsvcs/tests/Time/client.cpp index 690b329a7d7..2eb9ac6be6f 100644 --- a/TAO/orbsvcs/tests/Time/client.cpp +++ b/TAO/orbsvcs/tests/Time/client.cpp @@ -2,20 +2,23 @@ #include "Client_i.h" #include "ace/Log_Msg.h" +#include "ace/Argv_Type_Converter.h" ACE_RCSID(Time, client, "$Id$") // This function runs the Time Service client test. int -main (int argc, char *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { + ACE_Argv_Type_Converter convert (argc, argv); + Client_i client; ACE_DEBUG ((LM_DEBUG, "[CLIENT] Process/Thread Id : (%P/%t) Time Service Client\n")); - if (client.init (argc, argv) == -1) + if (client.init (convert.get_argc(), convert.get_ASCII_argv()) == -1) return -1; else return client.run (); |