diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-06-02 07:38:06 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-06-02 07:38:06 +0000 |
commit | c91cf4730938d9f0cf99768e3092794e5c968120 (patch) | |
tree | 5d66542032fa0d8a6e6477f5044d305055fced07 /TAO/tao/Asynch_Queued_Message.cpp | |
parent | 18246c7def2be102f4f63cfec13906420e3746ac (diff) | |
download | ATCD-c91cf4730938d9f0cf99768e3092794e5c968120.tar.gz |
ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Asynch_Queued_Message.cpp')
-rw-r--r-- | TAO/tao/Asynch_Queued_Message.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tao/Asynch_Queued_Message.cpp b/TAO/tao/Asynch_Queued_Message.cpp index 1b19cf6ecdd..daf6c0fd264 100644 --- a/TAO/tao/Asynch_Queued_Message.cpp +++ b/TAO/tao/Asynch_Queued_Message.cpp @@ -74,9 +74,8 @@ TAO_Asynch_Queued_Message::fill_iov (int iovcnt_max, ACE_UNUSED_ARG (iovcnt_max); // not used if ACE_ASSERT() is empty iov[iovcnt].iov_base = this->buffer_ + this->offset_; - iov[iovcnt].iov_len = ACE_static_cast (u_long, - this->size_ - this->offset_); - iovcnt++; + iov[iovcnt].iov_len = static_cast<u_long> (this->size_ - this->offset_); + ++iovcnt; } void @@ -124,7 +123,7 @@ TAO_Asynch_Queued_Message::clone (ACE_Allocator *alloc) if (alloc) { ACE_NEW_MALLOC_RETURN (qm, - ACE_static_cast (TAO_Asynch_Queued_Message *, + static_cast<TAO_Asynch_Queued_Message *> ( alloc->malloc (sizeof (TAO_Asynch_Queued_Message))), TAO_Asynch_Queued_Message (buf, sz, |