summaryrefslogtreecommitdiff
path: root/ACE/ace/Message_Queue.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:29:49 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2007-02-21 22:29:49 +0000
commitf11224da696a623a28510aafb10532ca999be51b (patch)
tree63afe56dbcdb765415669eeb73315cf45b03b9ca /ACE/ace/Message_Queue.cpp
parentcc970acff36ed652b93a32c8074558c310349658 (diff)
downloadATCD-f11224da696a623a28510aafb10532ca999be51b.tar.gz
ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/Message_Queue.cpp')
-rw-r--r--ACE/ace/Message_Queue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Message_Queue.cpp b/ACE/ace/Message_Queue.cpp
index 4b937e543a4..517ce8e2fcb 100644
--- a/ACE/ace/Message_Queue.cpp
+++ b/ACE/ace/Message_Queue.cpp
@@ -442,7 +442,7 @@ ACE_Message_Queue_NT::enqueue (ACE_Message_Block *new_item,
// Update the states once I succeed.
this->cur_bytes_ += msize;
this->cur_length_ += mlength;
- return ACE_Utils::Truncate<int> (++this->cur_count_);
+ return ACE_Utils::truncate_cast<int> (++this->cur_count_);
}
}
else
@@ -489,7 +489,7 @@ ACE_Message_Queue_NT::dequeue (ACE_Message_Block *&first_item,
--this->cur_count_;
this->cur_bytes_ -= msize;
this->cur_length_ -= first_item->total_length ();
- return ACE_Utils::Truncate<int> (this->cur_count_);
+ return ACE_Utils::truncate_cast<int> (this->cur_count_);
}
else // Woken up by deactivate () or pulse ().
errno = ESHUTDOWN;