From 271f18336ab57a857ab61aeb869bd9ae8ba0267e Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 27 Dec 2006 10:06:22 +0000 Subject: Wed Dec 27 10:05:12 UTC 2006 Johnny Willemsen --- ACE/ace/Name_Request_Reply.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ACE/ace/Name_Request_Reply.cpp') diff --git a/ACE/ace/Name_Request_Reply.cpp b/ACE/ace/Name_Request_Reply.cpp index 4bffde68e86..e066b2ef4ac 100644 --- a/ACE/ace/Name_Request_Reply.cpp +++ b/ACE/ace/Name_Request_Reply.cpp @@ -513,9 +513,9 @@ ACE_Name_Reply::encode (void *&buf) ACE_TRACE ("ACE_Name_Reply::encode"); int len = this->length (); // Get length *before* marshaling. - this->transfer_.length_ = htonl (this->transfer_.length_); - this->transfer_.type_ = htonl (this->transfer_.type_); - this->transfer_.errno_ = htonl (this->transfer_.errno_); + this->transfer_.length_ = ACE_HTONL (this->transfer_.length_); + this->transfer_.type_ = ACE_HTONL (this->transfer_.type_); + this->transfer_.errno_ = ACE_HTONL (this->transfer_.errno_); buf = (void *) &this->transfer_; return len; } -- cgit v1.2.1