diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 19:04:04 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 19:04:04 +0000 |
commit | 84501d8351ce05554f97b7fb43962b40f92e313d (patch) | |
tree | 3de78801580765f9a9870e0798e3f32f248745b1 /TAO/examples/Simple/time-date | |
parent | ba590c4062bf5e09499eddeeca6734e336c13093 (diff) | |
download | ATCD-84501d8351ce05554f97b7fb43962b40f92e313d.tar.gz |
Thu Oct 9 19:03:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/Simple/time-date')
-rw-r--r-- | TAO/examples/Simple/time-date/Time_Date.cpp | 2 | ||||
-rw-r--r-- | TAO/examples/Simple/time-date/Time_Date_i.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/Simple/time-date/Time_Date.cpp b/TAO/examples/Simple/time-date/Time_Date.cpp index 6d32aca1751..4767ebc5866 100644 --- a/TAO/examples/Simple/time-date/Time_Date.cpp +++ b/TAO/examples/Simple/time-date/Time_Date.cpp @@ -147,7 +147,7 @@ Time_Date_Servant::parse_args (int argc, ACE_TCHAR *argv[]) break; // Find the ORB in the Service Repository. case 'n': - this->orb_ = get_opts.opt_arg (); + this->orb_ = ACE_TEXT_ALWAYS_CHAR(get_opts.opt_arg ()); break; case '?': // display help for use of the server. default: diff --git a/TAO/examples/Simple/time-date/Time_Date_i.cpp b/TAO/examples/Simple/time-date/Time_Date_i.cpp index 558436edc06..70d815c8c0d 100644 --- a/TAO/examples/Simple/time-date/Time_Date_i.cpp +++ b/TAO/examples/Simple/time-date/Time_Date_i.cpp @@ -19,7 +19,7 @@ Time_Date_i::str_date (CORBA::String_out time_date) { const time_t time = ACE_OS::time (0); - time_date = CORBA::string_dup (ACE_OS::ctime (&time)); + time_date = CORBA::string_dup (ACE_TEXT_ALWAYS_CHAR(ACE_OS::ctime (&time))); } void |