diff options
Diffstat (limited to 'TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp')
-rw-r--r-- | TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp b/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp index 2cddb374de7..f1979e1a13d 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp +++ b/TAO/tests/CSD_Strategy_Tests/TP_Common/AppHelper.cpp @@ -4,11 +4,11 @@ void AppHelper::ref_to_file(CORBA::ORB_ptr orb, CORBA::Object_ptr obj, - const char* filename) + const ACE_TCHAR* filename) { CORBA::String_var ior = orb->object_to_string(obj); - FILE* ior_file = ACE_OS::fopen(filename, (const ACE_TCHAR *)("w")); + FILE* ior_file = ACE_OS::fopen(filename, ACE_TEXT("w")); if (ior_file == 0) { |