diff options
Diffstat (limited to 'TAO/tao/decode.cpp')
-rw-r--r-- | TAO/tao/decode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/decode.cpp b/TAO/tao/decode.cpp index 2261aecdfe7..63534f74661 100644 --- a/TAO/tao/decode.cpp +++ b/TAO/tao/decode.cpp @@ -708,8 +708,8 @@ TAO_Marshal_Struct::decode (CORBA::TypeCode_ptr tc, { if (is_corba_object == 0) { - TAO_Object_Field* field = - ACE_reinterpret_cast (TAO_Object_Field *, + TAO_Object_Field_T<CORBA_Object>* field = + ACE_reinterpret_cast (TAO_Object_Field_T<CORBA_Object> *, ACE_const_cast (void *, data)); field->_downcast (object, env); // The size of this field is different... |