summaryrefslogtreecommitdiff
path: root/TAO/examples/AMI/FL_Callback/progress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/AMI/FL_Callback/progress.cpp')
-rw-r--r--TAO/examples/AMI/FL_Callback/progress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/AMI/FL_Callback/progress.cpp b/TAO/examples/AMI/FL_Callback/progress.cpp
index d5d9556a839..5b267306226 100644
--- a/TAO/examples/AMI/FL_Callback/progress.cpp
+++ b/TAO/examples/AMI/FL_Callback/progress.cpp
@@ -19,7 +19,7 @@ int n_peers = 1;
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "o:p:i:");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "o:p:i:");
int c;
while ((c = get_opts ()) != -1)
@@ -53,7 +53,7 @@ parse_args (int argc, char *argv[])
}
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
TAO::FlResource_Loader fl_loader;
ACE_DECLARE_NEW_CORBA_ENV;