summaryrefslogtreecommitdiff
path: root/TAO/tao/CORBALOC_Parser.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-30 12:31:02 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-30 12:31:02 +0000
commitfdf973a1e9561a5b04b53ccb4f98e929f9e9a3c6 (patch)
tree0918899fe823d8adb5a86c5db91f4bf8e43a1086 /TAO/tao/CORBALOC_Parser.cpp
parent52728a087e8dc453923745ad5d85bb1e15c1ce25 (diff)
downloadATCD-fdf973a1e9561a5b04b53ccb4f98e929f9e9a3c6.tar.gz
ChangeLogTag: Wed Apr 30 07:26:37 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/CORBALOC_Parser.cpp')
-rw-r--r--TAO/tao/CORBALOC_Parser.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/tao/CORBALOC_Parser.cpp b/TAO/tao/CORBALOC_Parser.cpp
index ae8759d14ca..06cc0ddf32c 100644
--- a/TAO/tao/CORBALOC_Parser.cpp
+++ b/TAO/tao/CORBALOC_Parser.cpp
@@ -116,7 +116,8 @@ TAO_CORBALOC_Parser::assign_key_string (char *& cloc_name_ptr,
+ 1 // Object key separator
+ 3 // "://"
+ sizeof (def_port) - 1
- + key_string.length ());
+ + ACE_static_cast (CORBA::ULong,
+ key_string.length ()));
// Copy the default <iiop> prefix.
ACE_OS::strcpy (end_point.inout (),
@@ -137,7 +138,8 @@ TAO_CORBALOC_Parser::assign_key_string (char *& cloc_name_ptr,
+ 1 // Object key separator
+ 3 // "://"
+ sizeof (def_port) - 1
- + key_string.length ());
+ + ACE_static_cast (CORBA::ULong,
+ key_string.length ()));
ACE_CString prot_name = cloc_name_cstring.substring (0,
pos_colon);
@@ -229,7 +231,7 @@ TAO_CORBALOC_Parser::parse_string_assign_helper (
CORBA::ULong length;
while (cloc_name_ptr != 0)
{
- length = ACE_OS::strlen (cloc_name_ptr);
+ length = ACE_static_cast (CORBA::ULong, ACE_OS::strlen (cloc_name_ptr));
// Forms the endpoint and calls the mprofile_helper.
this->assign_key_string (cloc_name_ptr,
key_string,