summaryrefslogtreecommitdiff
path: root/TAO/tao/Connector_Registry.cpp
diff options
context:
space:
mode:
authormk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-09 16:36:28 +0000
committermk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-09 16:36:28 +0000
commit6c14ca013c9aac0f4cc6b7a4ab2e958bdeefe6a3 (patch)
tree385bc1bcf0a934c2a1878a8e9a0f9a612429f755 /TAO/tao/Connector_Registry.cpp
parent3f56606d179467db31a24dd881d5e1f5b6d7ae38 (diff)
downloadATCD-6c14ca013c9aac0f4cc6b7a4ab2e958bdeefe6a3.tar.gz
Nanbor fixed a unsigned/signed int conversion warning
Diffstat (limited to 'TAO/tao/Connector_Registry.cpp')
-rw-r--r--TAO/tao/Connector_Registry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp
index a8c484deff5..c2d6eb18b48 100644
--- a/TAO/tao/Connector_Registry.cpp
+++ b/TAO/tao/Connector_Registry.cpp
@@ -207,7 +207,7 @@ TAO_Connector_Registry::preprocess_preconnects (TAO_ORB_Core *orb_core,
ACE_CString protocol_name = i->substring (0, slot);
if (slot != ACE_CString::npos &&
- slot != ACE_static_cast (int, (i->length () - 3)) &&
+ (slot != ACE_static_cast (int, i->length ()) - 3) &&
(*factory)->factory ()->match_prefix (protocol_name.c_str ()))
{
(*tmp) += i->substring (slot + 3); // +3 due to "://"