diff options
Diffstat (limited to 'TAO/CIAO/ciao/Servant_Activator.cpp')
-rw-r--r-- | TAO/CIAO/ciao/Servant_Activator.cpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/TAO/CIAO/ciao/Servant_Activator.cpp b/TAO/CIAO/ciao/Servant_Activator.cpp index 6830454ac35..3c57a6a8e8a 100644 --- a/TAO/CIAO/ciao/Servant_Activator.cpp +++ b/TAO/CIAO/ciao/Servant_Activator.cpp @@ -25,9 +25,9 @@ namespace CIAO guard, this->mutex_); - const size_t sz = this->slot_index_; + const unsigned int sz = this->slot_index_; - for (size_t t = 0; t != sz; ++t) + for (unsigned int t = 0; t != sz; ++t) { Port_Activator *&tmp = this->pa_[t]; @@ -49,8 +49,8 @@ namespace CIAO guard, this->mutex_, 0); - const size_t sz = this->slot_index_; - for (size_t t = 0; t != sz; ++t) + const unsigned int sz = this->slot_index_; + for (unsigned int t = 0; t != sz; ++t) { Port_Activator *&tmp = this->pa_[t]; if (ACE_OS::strcmp (tmp->name (), str.in ()) == 0) @@ -86,11 +86,11 @@ namespace CIAO this->mutex_, 0); - const size_t sz = this->slot_index_; + const unsigned int sz = this->slot_index_; Port_Activator *tmp = 0; - for (size_t t = 0; t != sz; ++t) + for (unsigned int t = 0; t != sz; ++t) { if (this->pa_.get (tmp, t) == -1) ACE_THROW_RETURN (CORBA::OBJECT_NOT_EXIST (), @@ -133,11 +133,11 @@ namespace CIAO CORBA::String_var str = PortableServer::ObjectId_to_string (oid); - const size_t sz = this->slot_index_; + const unsigned int sz = this->slot_index_; Port_Activator *tmp = 0; - for (size_t t = 0; t != sz; ++t) + for (unsigned int t = 0; t != sz; ++t) { if (this->pa_.get (tmp, t) == -1) { @@ -181,10 +181,8 @@ namespace CIAO if (CIAO::debug_level () > 9) ACE_DEBUG ((LM_DEBUG, - "CIAO (%P|%t) - Servant_Activator::register_port_activator" - " with port name [%s]," + "CIAO (%P|%t) - Servant_Activator::register_port_activator," " the slot_index_ is [%d] \n", - pa->name (), this->slot_index_)); return true; |