summaryrefslogtreecommitdiff
path: root/TAO/examples/Logging/Logging_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Logging/Logging_Test.cpp')
-rw-r--r--TAO/examples/Logging/Logging_Test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Logging/Logging_Test.cpp b/TAO/examples/Logging/Logging_Test.cpp
index f309e54d9e6..3a876c2fc14 100644
--- a/TAO/examples/Logging/Logging_Test.cpp
+++ b/TAO/examples/Logging/Logging_Test.cpp
@@ -1,20 +1,22 @@
// $Id$
#include "Logging_Test_i.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(Logger, Logging_Test, "$Id$")
// This function runs the Logging service test.
int
-main (int argc, char **argv)
+ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
+ ACE_Argv_Type_Converter convert (argc, argv);
Logger_Client logger_client;
ACE_DEBUG ((LM_DEBUG,
"\n \t IDL_Logger: client \n\n"));
- if (logger_client.init (argc, argv) == -1)
+ if (logger_client.init (convert.get_argc(), convert.get_ASCII_argv()) == -1)
return 1;
return logger_client.run ();