diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-04-04 19:15:03 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-04-04 19:15:03 +0000 |
commit | 961fe0f4685be97b5eca01477132813674ab6c9b (patch) | |
tree | e1495eb3899791036bf89a445a87d2b5f728f224 /TAO/tests/Bug_2735_Regression | |
parent | b876706d4af6005eb120719e82f82b7814b811bd (diff) | |
download | ATCD-961fe0f4685be97b5eca01477132813674ab6c9b.tar.gz |
ChangeLogTag: Wed Apr 4 19:13:53 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/Bug_2735_Regression')
-rw-r--r-- | TAO/tests/Bug_2735_Regression/server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/Bug_2735_Regression/server.cpp b/TAO/tests/Bug_2735_Regression/server.cpp index cc009aa5089..46cd8638c98 100644 --- a/TAO/tests/Bug_2735_Regression/server.cpp +++ b/TAO/tests/Bug_2735_Regression/server.cpp @@ -56,17 +56,17 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) return -1; int targc = 3; - char* targv[] = { "server", "-ORBSvcConfDirective", 0 }; + const char* targv[] = { "server", "-ORBSvcConfDirective", 0 }; switch (factory_strategy) { case FOO_STRATEGY: - targv[2] = const_cast<char*> (ACE_TEXT_ALWAYS_CHAR (foo_strat)); + targv[2] = ACE_TEXT_ALWAYS_CHAR (foo_strat); break; case SERVER_STRATEGY: - targv[2] = const_cast<char*> (ACE_TEXT_ALWAYS_CHAR (server_strat)); + targv[2] = ACE_TEXT_ALWAYS_CHAR (server_strat); break; } - CORBA::ORB_var orb = CORBA::ORB_init (targc, targv); + CORBA::ORB_var orb = CORBA::ORB_init (targc, const_cast<char**> (targv)); orb->destroy (); } catch (const CORBA::Exception& ex) |