summaryrefslogtreecommitdiff
path: root/ace/Naming_Context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r--ace/Naming_Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp
index 91eda1b7d30..2f442632513 100644
--- a/ace/Naming_Context.cpp
+++ b/ace/Naming_Context.cpp
@@ -637,7 +637,7 @@ ACE_Name_Options::parse_args (int argc, ACE_TCHAR *argv[])
this->database (get_opt.optarg);
break;
case 'b':
- this->base_address ((char *) ACE_OS::atoi (get_opt.optarg));
+ this->base_address (ACE_reinterpret_cast (char *, ACE_OS::atoi (get_opt.optarg)));
break;
case 'T':
if (ACE_OS::strcasecmp (get_opt.optarg, ACE_LIB_TEXT ("ON")) == 0)