summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp b/TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp
index 078fe73b747..17589bf00c6 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/XML_Saver.cpp
@@ -125,7 +125,7 @@ namespace TAO_Notify
ACE_UINT64 const tmpus = now.sec();
nowus += tmpus * USECSPERSEC;
- char nowusstr[128];
+ ACE_TCHAR nowusstr[128];
#ifdef ACE_LACKS_LONGLONG_T
nowus.as_string(nowusstr);
#else
@@ -135,7 +135,7 @@ namespace TAO_Notify
attrs.push_back(NVP("version", "1.0"));
if (this->timestamp_)
{
- attrs.push_back(NVP("timestamp", nowusstr));
+ attrs.push_back(NVP("timestamp", ACE_TEXT_ALWAYS_CHAR(nowusstr)));
}
this->begin_object(0, "notification_service", attrs, changed);
}
@@ -173,8 +173,8 @@ namespace TAO_Notify
ACE_OS::fprintf (out, " %s%s%ld%s", TOPOLOGY_ID_NAME, "=\"", lid, "\"");
}
- ACE_CString::size_type const BUF_SIZE = 512;
- ACE_CString tmp(BUF_SIZE);
+ ACE_TString::size_type const BUF_SIZE = 512;
+ ACE_TString tmp(BUF_SIZE);
for (size_t idx = 0; idx < attrs.size(); ++idx)
{
ACEXML_escape_string(attrs[idx].value, tmp);