diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-28 11:14:12 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-28 11:14:12 +0000 |
commit | 49fd2b2db8829383e4a60c601bee1d7e6b2dc45d (patch) | |
tree | 7ceb00d213fc73b00799153e621872de4d71f450 /TAO | |
parent | d9be4dd82bd8d25d98d75b6ccddfb2a84cef91fe (diff) | |
download | ATCD-49fd2b2db8829383e4a60c601bee1d7e6b2dc45d.tar.gz |
Fri Nov 28 11:14:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog | 5 | ||||
-rw-r--r-- | TAO/TAO_IDL/be/be_sunsoft.cpp | 14 |
2 files changed, 11 insertions, 8 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 9b00c217d34..e93ec547834 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 28 11:14:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> + + * TAO_IDL/be/be_sunsoft.cpp + Use ascii format specifiers + Fri Nov 28 11:12:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl> * orbsvcs/orbsvcs/AV/AVStreams_i.h: diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp index a5debe7fe39..30126f74451 100644 --- a/TAO/TAO_IDL/be/be_sunsoft.cpp +++ b/TAO/TAO_IDL/be/be_sunsoft.cpp @@ -80,31 +80,29 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr) switch (ev->et) { case AST_Expression::EV_short: - this->TAO_OutStream::print (ACE_TEXT_ALWAYS_CHAR (ACE_INT32_FORMAT_SPECIFIER), ev->u.sval); + this->TAO_OutStream::print (ACE_INT32_FORMAT_SPECIFIER_ASCII, ev->u.sval); break; case AST_Expression::EV_ushort: - this->TAO_OutStream::print (ACE_TEXT_ALWAYS_CHAR (ACE_INT32_FORMAT_SPECIFIER ACE_TEXT("%c")), ev->u.usval, 'U'); + this->TAO_OutStream::print (ACE_INT32_FORMAT_SPECIFIER_ASCII "%c", ev->u.usval, 'U'); break; case AST_Expression::EV_long: - this->TAO_OutStream::print (ACE_TEXT_ALWAYS_CHAR (ACE_INT32_FORMAT_SPECIFIER), ev->u.lval); + this->TAO_OutStream::print (ACE_INT32_FORMAT_SPECIFIER_ASCII, ev->u.lval); break; case AST_Expression::EV_ulong: - this->TAO_OutStream::print (ACE_TEXT_ALWAYS_CHAR (ACE_UINT32_FORMAT_SPECIFIER ACE_TEXT("%c")), ev->u.ulval, 'U'); + this->TAO_OutStream::print (ACE_UINT32_FORMAT_SPECIFIER_ASCII "%c", ev->u.ulval, 'U'); break; // The ACE_LACKS_LONGLONG_T guards have been removed around // the next 2 cases since the macros now used should work // whether native 64-bit integers are defined or not. case AST_Expression::EV_longlong: this->TAO_OutStream::print ("ACE_INT64_LITERAL ("); - this->TAO_OutStream::print (ACE_TEXT_ALWAYS_CHAR ( - ACE_INT64_FORMAT_SPECIFIER), + this->TAO_OutStream::print (ACE_INT64_FORMAT_SPECIFIER_ASCII, ev->u.llval); this->TAO_OutStream::print (")"); break; case AST_Expression::EV_ulonglong: this->TAO_OutStream::print ("ACE_UINT64_LITERAL ("); - this->TAO_OutStream::print (ACE_TEXT_ALWAYS_CHAR ( - ACE_UINT64_FORMAT_SPECIFIER), + this->TAO_OutStream::print (ACE_UINT64_FORMAT_SPECIFIER_ASCII, ev->u.ullval); this->TAO_OutStream::print (")"); break; |