diff options
Diffstat (limited to 'TAO/tao/Asynch_Queued_Message.cpp')
-rw-r--r-- | TAO/tao/Asynch_Queued_Message.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/Asynch_Queued_Message.cpp b/TAO/tao/Asynch_Queued_Message.cpp index b12a57221d6..09d233cdde5 100644 --- a/TAO/tao/Asynch_Queued_Message.cpp +++ b/TAO/tao/Asynch_Queued_Message.cpp @@ -70,7 +70,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 = this->size_ - this->offset_; + iov[iovcnt].iov_len = ACE_static_cast (u_long, + this->size_ - this->offset_); iovcnt++; } |