diff options
-rw-r--r-- | TAO/ChangeLog-98c | 6 | ||||
-rw-r--r-- | TAO/tao/Typecode.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index e3a22d53094..14e3ad79363 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,9 @@ +Tue Dec 1 10:12:57 1998 Carlos O'Ryan <coryan@cs.wustl.edu> + + * tao/Typecode.cpp: + The size for a TypeCode field was not computed properly (it + should be sizeof(TypeCode_ptr)). + Tue Dec 01 10:16:02 1998 David L. Levine <levine@cs.wustl.edu> * TAO version 0.2.42 released. diff --git a/TAO/tao/Typecode.cpp b/TAO/tao/Typecode.cpp index f786ba530b8..25a68c329f6 100644 --- a/TAO/tao/Typecode.cpp +++ b/TAO/tao/Typecode.cpp @@ -140,7 +140,7 @@ CORBA_TypeCode::CORBA_TypeCode (CORBA::TCKind kind) this->private_state_->tc_size_ = sizeof (CORBA::WChar); break; case CORBA::tk_TypeCode: - this->private_state_->tc_size_ = sizeof (CORBA::TypeCode); + this->private_state_->tc_size_ = sizeof (CORBA::TypeCode_ptr); break; case CORBA::tk_Principal: this->private_state_->tc_size_ = sizeof (CORBA::Principal); |