summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Servant_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/Servant_Base.cpp')
-rw-r--r--TAO/tao/PortableServer/Servant_Base.cpp6
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 *