diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-27 20:28:28 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-03-27 20:28:28 +0000 |
commit | 763cfcec7b4e2b5bbf3702d42cd2945cea9f2422 (patch) | |
tree | 0378b9ebb31cadd1d6635e38dc010515ec5f602c /TAO/tao | |
parent | 5058d1555890d980b5cdaac10b5feb1958f34bbe (diff) | |
download | ATCD-763cfcec7b4e2b5bbf3702d42cd2945cea9f2422.tar.gz |
ChangeLogTag: Thu Mar 27 14:25:31 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp b/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp index 442b5e99088..d84f9f00c52 100644 --- a/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp +++ b/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp @@ -563,14 +563,16 @@ TAO_TypeCodeFactory_i::create_recursive_tc ( list); TAO_OutputCDR cdr; + CORBA::Long max_neg = 0xffffffff; // Negative offset value, updated later with the actual value. - cdr << 0xffffffff; + cdr << max_neg; // In an embedded recursive typecode, the indirection // value -1 goes where the TCKind would go for any // other embedded typecode. - CORBA::TCKind rec_kind = (CORBA::TCKind) 0xffffffff; + CORBA::TCKind rec_kind = + ACE_static_cast (CORBA::TCKind, max_neg); return this->assemble_tc (cdr, rec_kind, |