diff options
author | Steve Huston <shuston@riverace.com> | 2005-02-15 23:07:37 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2005-02-15 23:07:37 +0000 |
commit | 34104cf059eeafbd1382ac7f9315e0c9a4afac2e (patch) | |
tree | 929cad045679537bffe42e0311c7d1ac90539359 /ace/Naming_Context.cpp | |
parent | 2cf1b9573c6f58e31ad17124620d11875cf8dab9 (diff) | |
download | ATCD-PROACTOR_FIXES_STEVE_JAN05.tar.gz |
Commit merged-in changes from mainlinePROACTOR_FIXES_STEVE_JAN05
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r-- | ace/Naming_Context.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp index 112f1dfcf0e..871f4ee0ce7 100644 --- a/ace/Naming_Context.cpp +++ b/ace/Naming_Context.cpp @@ -54,7 +54,7 @@ ACE_Naming_Context::info (ACE_TCHAR **strp, return -1; else ACE_OS::strsncpy (*strp, buf, length); - return ACE_static_cast (int, ACE_OS::strlen (buf)); + return static_cast<int> (ACE_OS::strlen (buf)); } int @@ -156,7 +156,8 @@ ACE_Naming_Context::ACE_Naming_Context (void) ACE_Naming_Context::ACE_Naming_Context (Context_Scope_Type scope_in, int lite) : name_options_ (0), - name_space_ (0) + name_space_ (0), + netnameserver_host_ (0) { ACE_TRACE ("ACE_Naming_Context::ACE_Naming_Context"); @@ -655,7 +656,7 @@ ACE_Name_Options::parse_args (int argc, ACE_TCHAR *argv[]) break; case 'b': this->base_address - (ACE_static_cast (char *, ACE_OS::atop (get_opt.opt_arg ()))); + (static_cast<char *> (ACE_OS::atop (get_opt.opt_arg ()))); break; case 'T': #if defined (ACE_HAS_TRACE) |