summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Event/Basic/Random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Event/Basic/Random.cpp')
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Random.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Event/Basic/Random.cpp b/TAO/orbsvcs/tests/Event/Basic/Random.cpp
index b9397f997ed..471ea0ab073 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Random.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Random.cpp
@@ -6,6 +6,7 @@
#include "orbsvcs/Event_Utilities.h"
#include "orbsvcs/Time_Utilities.h"
#include "ace/Arg_Shifter.h"
+#include "ace/Argv_Type_Converter.h"
#include "ace/OS_NS_strings.h"
#include "ace/OS_NS_unistd.h"
@@ -14,10 +15,12 @@ ACE_RCSID (EC_Tests,
"$Id$")
int
-main (int argc, char* argv[])
+ACE_TMAIN (int argc, ACE_TCHAR* argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
RND_Driver driver;
- return driver.run (argc, argv);
+ return driver.run (convert.get_argc(), convert.get_ASCII_argv());
}
// ****************************************************************
@@ -62,7 +65,7 @@ RND_Driver::run (int argc, char *argv[])
// ****************************************************************
- ACE_Arg_Shifter arg_shifter (argc, argv);
+ ACE_TArg_Shifter< char > arg_shifter (argc, argv);
while (arg_shifter.is_anything_left ())
{