diff options
Diffstat (limited to 'TAO/tao/Stub.cpp')
-rw-r--r-- | TAO/tao/Stub.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp index 91d28d1d931..dee76e252d0 100644 --- a/TAO/tao/Stub.cpp +++ b/TAO/tao/Stub.cpp @@ -338,19 +338,19 @@ TAO_Stub::parse_policies (CORBA::Environment &ACE_TRY_ENV) // this->orb_core ()->get_protocols_hooks ()->call_policy_type_hook (policy_list, // policy_type); - for (unsigned int i = 0; i < length; ++i) + for (CORBA::ULong i = 0; i < length; ++i) { - if (((policy_list)[i]->policy_type () == + if ((policy_list[i]->policy_type () == RTCORBA::PRIORITY_MODEL_POLICY_TYPE)) - this->exposed_priority_model ((policy_list)[i].in ()); + this->exposed_priority_model (policy_list[i].in ()); - else if (((policy_list)[i]->policy_type () == + else if ((policy_list[i]->policy_type () == RTCORBA::PRIORITY_BANDED_CONNECTION_POLICY_TYPE)) - this->exposed_priority_banded_connection ((policy_list)[i].in ()); + this->exposed_priority_banded_connection (policy_list[i].in ()); - else if (((policy_list)[i]->policy_type () == + else if ((policy_list[i]->policy_type () == RTCORBA::CLIENT_PROTOCOL_POLICY_TYPE)) - this->exposed_client_protocol ((policy_list)[i].in ()); + this->exposed_client_protocol (policy_list[i].in ()); } this->are_policies_parsed_ = 1; |