summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_enum.cpp
diff options
context:
space:
mode:
authorgokhale <asgokhale@users.noreply.github.com>1998-06-12 22:00:38 +0000
committergokhale <asgokhale@users.noreply.github.com>1998-06-12 22:00:38 +0000
commited8cd547ff96b07874ae0dbcc685a7f072d47c27 (patch)
treedc7b6897b4aeb0c39662507515d6231e8f1d9c34 /TAO/TAO_IDL/be/be_enum.cpp
parent06444a797d4d8007892e7fa0a32f533b619272e7 (diff)
downloadATCD-ed8cd547ff96b07874ae0dbcc685a7f072d47c27.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