diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1998-11-13 22:00:32 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1998-11-13 22:00:32 +0000 |
commit | a757142b60df9d24327614c7692225e9f2d0033c (patch) | |
tree | 25b669353b30f7ab6d2a7b588f3249d7f8818551 /TAO/tao/decode.cpp | |
parent | 9ba5369036fe173639e72571c12d810cf32e434a (diff) | |
download | ATCD-a757142b60df9d24327614c7692225e9f2d0033c.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/decode.cpp')
-rw-r--r-- | TAO/tao/decode.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/tao/decode.cpp b/TAO/tao/decode.cpp index cb26bec2a1c..d0ca25aa876 100644 --- a/TAO/tao/decode.cpp +++ b/TAO/tao/decode.cpp @@ -326,7 +326,8 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, *tcp = new CORBA::TypeCode (ACE_static_cast(CORBA::TCKind, kind), 8, ACE_reinterpret_cast(char*,_oc_bounded_string), - 0, 0); + 0, sizeof + (CORBA::String_var), 0); #elif 0 // This one fails because we are passing the // parent but the buffer (_oc_bounded_string) is @@ -339,7 +340,8 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, _oc_bounded_string [1] = (CORBA::Long) bound; *tcp = new CORBA::TypeCode ((CORBA::TCKind) kind, bound, (char *) &_oc_bounded_string, - 0, parent); + 0, sizeof + (CORBA::String_var), parent); #else // This depends on the fact that <stream> is // actually pointing to the parent CDR stream, @@ -347,7 +349,7 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, *tcp = new CORBA::TypeCode ((CORBA::TCKind) kind, 8, stream->rd_ptr () - 8, - 0, parent); + 0, 0, parent); #endif } } @@ -423,6 +425,7 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, indir_len, indir_stream.rd_ptr(), 0, + 0, parent); } } @@ -454,6 +457,7 @@ TAO_Marshal_TypeCode::decode (CORBA::TypeCode_ptr, len, stream->rd_ptr (), 0, + 0, parent); // skip length number of bytes in the stream, else we may // leave the stream in an undefined state |