diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2006-10-18 05:23:42 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2006-10-18 05:23:42 +0000 |
commit | 112a7a9bb71c631690e5560fdfeb0adf79a83164 (patch) | |
tree | 4e620f21ae12e5077d0d8bbc28c1bd62c6260078 /ACE/ace/Message_Queue.cpp | |
parent | cd04889def8904057be84af96a11d40a5914fdcd (diff) | |
download | ATCD-112a7a9bb71c631690e5560fdfeb0adf79a83164.tar.gz |
ChangeLogTag:Tue Oct 18 06:02:28 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/Message_Queue.cpp')
-rw-r--r-- | ACE/ace/Message_Queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Message_Queue.cpp b/ACE/ace/Message_Queue.cpp index f62088394f6..504af19b0fb 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 (++this->cur_count_); + return ACE_Utils::Truncate<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 (this->cur_count_); + return ACE_Utils::Truncate<int> (this->cur_count_); } else // Woken up by deactivate () or pulse (). errno = ESHUTDOWN; |