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 | 7d25a1556a1b5bc130dccd2ece7858c5a39a8fc6 (patch) | |
tree | 82fe9668a18e8db98e7780c373c460c8df53ab7c | |
parent | c8a81cdadadcf45bc46e5f99db2d75b294245102 (diff) | |
download | ATCD-7d25a1556a1b5bc130dccd2ece7858c5a39a8fc6.tar.gz |
Changed the 32-bit ensuring enum value to 0x7FFFFFFF.
-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 |