diff options
Diffstat (limited to 'TAO/tao/IORInterceptor/IORInterceptor_Adapter_Impl.cpp')
-rw-r--r-- | TAO/tao/IORInterceptor/IORInterceptor_Adapter_Impl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/IORInterceptor/IORInterceptor_Adapter_Impl.cpp b/TAO/tao/IORInterceptor/IORInterceptor_Adapter_Impl.cpp index 1165fa9ab6c..db5ba38e55b 100644 --- a/TAO/tao/IORInterceptor/IORInterceptor_Adapter_Impl.cpp +++ b/TAO/tao/IORInterceptor/IORInterceptor_Adapter_Impl.cpp @@ -164,7 +164,8 @@ TAO_IORInterceptor_Adapter_Impl::adapter_state_changed ( PortableInterceptor::ObjectReferenceTemplateSeq seq_obj_ref_template; - seq_obj_ref_template.length (array_obj_ref_template.size()); + seq_obj_ref_template.length ( + static_cast <CORBA::ULong> (array_obj_ref_template.size())); for (size_t counter = 0; counter < array_obj_ref_template.size(); ++counter) { |