diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-25 02:12:21 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-25 02:12:21 +0000 |
commit | 4c91a977924180196ed39c10eceeaa4b8cd06fcb (patch) | |
tree | 82fe9668a18e8db98e7780c373c460c8df53ab7c /TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp | |
parent | ecb21f9410fadbcc3c1cd5ed2c05951a872ca7dd (diff) | |
download | ATCD-4c91a977924180196ed39c10eceeaa4b8cd06fcb.tar.gz |
Changed the 32-bit ensuring enum value to 0x7FFFFFFF.
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp b/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp index cc7fbcd1bfa..fecf6d8419e 100644 --- a/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp +++ b/TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp @@ -64,8 +64,10 @@ be_visitor_enum_ch::visit_enum (be_enum *node) } os->indent (); + // The following ensures that the underlying enum type + // is 32 bits *os << node->local_name () - << "_TAO_ENUM_32BIT_ENFORCER = 0xFFFFFFFF\n"; + << "_TAO_ENUM_32BIT_ENFORCER = 0x7FFFFFFF\n"; os->decr_indent (); *os << "};" << be_nl; // As per the ORBOS spec, we need the following typedef |