summaryrefslogtreecommitdiff
path: root/ace/Naming_Context.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-28 15:21:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-01-28 15:21:57 +0000
commita57162581a0fa03c8659100991fd7975c04de565 (patch)
treefa259eb2a8b400b4d66450a5d83ac11f3bdda1d1 /ace/Naming_Context.cpp
parent48993dde86e025aa4c0ac9a7278101308f67bb50 (diff)
downloadATCD-a57162581a0fa03c8659100991fd7975c04de565.tar.gz
changed "sizeof char" to "sizeof (char)" because g++ and Sun C++ (properly) choked on it
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 5952148c320..551efa2e199 100644
--- a/ace/Naming_Context.cpp
+++ b/ace/Naming_Context.cpp
@@ -58,7 +58,7 @@ ACE_Naming_Context::open (Context_Scope_Type scope_in, int lite)
{
ACE_TRACE ("ACE_Naming_Context::open");
ACE_OS::hostname (this->hostname_,
- (sizeof this->hostname_ / sizeof char));
+ (sizeof this->hostname_ / sizeof (char)));
this->netnameserver_host_ = this->name_options_->nameserver_host ();
this->netnameserver_port_ = this->name_options_->nameserver_port ();