diff options
Diffstat (limited to 'TAO/tao/PortableServer/Servant_Base.cpp')
-rw-r--r-- | TAO/tao/PortableServer/Servant_Base.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/PortableServer/Servant_Base.cpp b/TAO/tao/PortableServer/Servant_Base.cpp index 9abb539aab1..887154ad4bf 100644 --- a/TAO/tao/PortableServer/Servant_Base.cpp +++ b/TAO/tao/PortableServer/Servant_Base.cpp @@ -476,7 +476,8 @@ TAO_ServantBase::_find (const char *opname, const size_t length) { ACE_FUNCTION_TIMEPROBE (TAO_SERVANT_BASE_FIND_START); - return this->optable_->find (opname, skelfunc, length); + return this->optable_->find (opname, skelfunc, + static_cast<unsigned int> (length)); } int @@ -486,7 +487,8 @@ TAO_ServantBase::_find (const char *opname, const size_t length) { ACE_FUNCTION_TIMEPROBE (TAO_SERVANT_BASE_FIND_START); - return this->optable_->find (opname, skelfunc, st, length); + return this->optable_->find (opname, skelfunc, st, + static_cast<unsigned int> (length)); } TAO_Stub * |