From 7d25a1556a1b5bc130dccd2ece7858c5a39a8fc6 Mon Sep 17 00:00:00 2001 From: parsons Date: Wed, 25 Aug 1999 02:12:21 +0000 Subject: Changed the 32-bit ensuring enum value to 0x7FFFFFFF. --- TAO/TAO_IDL/be/be_visitor_enum/enum_ch.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1