summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tests/OBV/Simple/Simple_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tests/OBV/Simple/Simple_util.cpp b/TAO/tests/OBV/Simple/Simple_util.cpp
index f9d8dc32c05..9b0e2a88dc9 100644
--- a/TAO/tests/OBV/Simple/Simple_util.cpp
+++ b/TAO/tests/OBV/Simple/Simple_util.cpp
@@ -176,7 +176,7 @@ Client<InterfaceObj, Var>::read_ior (ACE_TCHAR *filename)
"Unable to read ior: %p\n"),
-1);
- this->ior_ = ACE_OS::strdup (data);
+ this->ior_ = ACE_OS::strdup (ACE_TEXT_CHAR_TO_TCHAR(data));
ior_buffer.alloc ()->free (data);
ACE_OS::close (f_handle);