summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-09 18:20:44 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-09 18:20:44 +0000
commit40cafb0a9ce8cb6bb6306e6f5d995f07821332ee (patch)
treed21f4a161ee4502af4534c3fb4d0054d314dc125 /TAO/examples
parentedc3ded159affd344e0b6571d42fe2af9f6a267f (diff)
downloadATCD-40cafb0a9ce8cb6bb6306e6f5d995f07821332ee.tar.gz
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/Persistent_Grid/Simple_util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/examples/Persistent_Grid/Simple_util.cpp b/TAO/examples/Persistent_Grid/Simple_util.cpp
index 4f9fd7e2746..d71c4e02b2a 100644
--- a/TAO/examples/Persistent_Grid/Simple_util.cpp
+++ b/TAO/examples/Persistent_Grid/Simple_util.cpp
@@ -171,7 +171,7 @@ Client<InterfaceObj, Var>::read_ior (ACE_TCHAR *filename)
if (f_handle == ACE_INVALID_HANDLE)
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to open %s for writing: %p\n",
- ACE_TEXT_CHAR_TO_TCHAR (filename)),
+ filename),
-1);
ACE_Read_Buffer ior_buffer (f_handle);
@@ -206,14 +206,14 @@ Client<InterfaceObj, Var>::parse_args (void)
TAO_debug_level++;
break;
case 'k': // ior provide on command line
- this->ior_ = ACE_OS::strdup (get_opts.opt_arg ());
+ this->ior_ = ACE_OS::strdup (ACE_TEXT_ALWAYS_CHAR(get_opts.opt_arg ()));
break;
case 'f': // read the IOR from the file.
result = this->read_ior (get_opts.opt_arg ());
if (result < 0)
ACE_ERROR_RETURN ((LM_ERROR,
"Unable to read ior from %s : %p\n",
- ACE_TEXT_CHAR_TO_TCHAR (get_opts.opt_arg ())),
+ get_opts.opt_arg ()),
-1);
break;
case 'x': // read the flag for shutting down