summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-09-24 08:27:11 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-09-24 08:27:11 +0000
commit0e45ed14166b6d06028d533660ccae7c595d88d1 (patch)
tree6675b2554a7fa82125dc2fd400477d9705e95ea4
parent31ba649a6307f188a53b02a05e72be3244b39534 (diff)
downloadATCD-0e45ed14166b6d06028d533660ccae7c595d88d1.tar.gz
ChangeLogTag: Fri Sep 24 08:27:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--ace/OS_NS_sys_socket.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/OS_NS_sys_socket.inl b/ace/OS_NS_sys_socket.inl
index 3d3f9fbd199..7773e19a778 100644
--- a/ace/OS_NS_sys_socket.inl
+++ b/ace/OS_NS_sys_socket.inl
@@ -532,8 +532,8 @@ ACE_OS::sendmsg (ACE_HANDLE handle,
else
return (ssize_t) bytes_sent;
# elif defined (ACE_HAS_NONCONST_SENDMSG)
- ACE_SOCKCALL_RETURN (::sendmsg (handle,
- const_cast<struct msghdr *>(msg),
+ ACE_SOCKCALL_RETURN (::sendmsg (handle,
+ const_cast<struct msghdr *>(msg),
flags), int, -1);
# else
ACE_SOCKCALL_RETURN (::sendmsg (handle, msg, flags), int, -1);
@@ -633,8 +633,8 @@ ACE_OS::sendto (ACE_HANDLE handle,
for (int i = 0; i < buffer_count; ++i)
{
result = ACE_OS::sendto (handle,
- reinterpret_cast<char *ACE_CAST_CONST> (
- buffers[i].iov_base),
+ reinterpret_cast<char *> (
+ buffers[i].iov_base),
buffers[i].iov_len,
flags,
addr,