summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_enum.cpp
diff options
context:
space:
mode:
authorgokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-12 22:00:38 +0000
committergokhale <gokhale@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-12 22:00:38 +0000
commit829451f137fad3c27a00581ab4ad46656ea11cff (patch)
treedc7b6897b4aeb0c39662507515d6231e8f1d9c34 /TAO/TAO_IDL/be/be_enum.cpp
parent6a754b44266eaf8fb45b87d5fc5e2e1d2e9c386a (diff)
downloadATCD-829451f137fad3c27a00581ab4ad46656ea11cff.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/be/be_enum.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_enum.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_enum.cpp b/TAO/TAO_IDL/be/be_enum.cpp
index afdf34116f4..c9e0ea40463 100644
--- a/TAO/TAO_IDL/be/be_enum.cpp
+++ b/TAO/TAO_IDL/be/be_enum.cpp
@@ -120,7 +120,7 @@ be_enum::gen_encapsulation (void)
(void)this->tc_name2long (this->repoID (), arr, arrlen);
for (i=0; i < arrlen; i++)
{
- cs->print ("0x%x, ", arr[i]);
+ cs->print ("ACE_NTOHL (0x%x), ", arr[i]);
}
*cs << " // repository ID = " << this->repoID () << nl;
// generate name
@@ -128,7 +128,7 @@ be_enum::gen_encapsulation (void)
(void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen);
for (i=0; i < arrlen; i++)
{
- cs->print ("0x%x, ", arr[i]);
+ cs->print ("ACE_NTOHL (0x%x), ", arr[i]);
}
*cs << " // name = " << this->local_name () << nl;
// generate the member count