summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_sunsoft.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-16 01:28:02 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-16 01:28:02 +0000
commitc14bdc802129fc9ac8cd8c941b824b7a60c24bd3 (patch)
tree98b61943d2e9f14f0c12c0dd9a9e3e5677ff120d /TAO/TAO_IDL/be/be_sunsoft.cpp
parent00b0fe25b7714e551a16cb26090f2ea4e74ad5a7 (diff)
downloadATCD-c14bdc802129fc9ac8cd8c941b824b7a60c24bd3.tar.gz
Uncommented an arg in generated code that was actually used in
the generated function, and added 'u' to the end of integer literals, if they are unsigned.
Diffstat (limited to 'TAO/TAO_IDL/be/be_sunsoft.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_sunsoft.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp
index 86cea07d781..ac68ae4d46b 100644
--- a/TAO/TAO_IDL/be/be_sunsoft.cpp
+++ b/TAO/TAO_IDL/be/be_sunsoft.cpp
@@ -65,13 +65,13 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr)
this->TAO_OutStream::print ("%hd", ev->u.sval);
break;
case AST_Expression::EV_ushort:
- this->TAO_OutStream::print ("%hu", ev->u.usval);
+ this->TAO_OutStream::print ("%hu%c", ev->u.usval, 'u');
break;
case AST_Expression::EV_long:
this->TAO_OutStream::print ("%ld", ev->u.lval);
break;
case AST_Expression::EV_ulong:
- this->TAO_OutStream::print ("%u", ev->u.ulval);
+ this->TAO_OutStream::print ("%u%c", ev->u.ulval, 'u');
break;
case AST_Expression::EV_longlong:
#if ! defined (ACE_LACKS_LONGLONG_T)
@@ -80,7 +80,7 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr)
break;
case AST_Expression::EV_ulonglong:
#if ! defined (ACE_LACKS_LONGLONG_T)
- this->TAO_OutStream::print ("%u", ev->u.ullval);
+ this->TAO_OutStream::print ("%u%c", ev->u.ullval, 'u');
#endif /* ! defined (ACE_LACKS_LONGLONG_T) */
break;
case AST_Expression::EV_float: