summaryrefslogtreecommitdiff
path: root/TAO/examples/Callback_Quoter/notifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Callback_Quoter/notifier.cpp')
-rw-r--r--TAO/examples/Callback_Quoter/notifier.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/examples/Callback_Quoter/notifier.cpp b/TAO/examples/Callback_Quoter/notifier.cpp
index 44f07d70cd1..fcd8ce876bd 100644
--- a/TAO/examples/Callback_Quoter/notifier.cpp
+++ b/TAO/examples/Callback_Quoter/notifier.cpp
@@ -1,14 +1,16 @@
// $Id$
#include "Notifier_Input_Handler.h"
+#include "ace/Argv_Type_Converter.h"
ACE_RCSID(notifier, Callback_Quoter, "$Id$")
// This is the main driver program for the Callback Quoter Notifier.
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
Notifier_Input_Handler notifier;
ACE_DEBUG ((LM_DEBUG,
@@ -17,7 +19,7 @@ main (int argc, char *argv[])
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- int rc = notifier.init (argc, argv ACE_ENV_ARG_PARAMETER);
+ int rc = notifier.init (convert.get_argc(), convert.get_ASCII_argv() ACE_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
if (rc == -1)