summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stropts.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-01-01 13:01:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-01-01 13:01:51 +0000
commit8df63015e2d521ec0babe9b62db2300278d9ce1b (patch)
tree8343386011ab9bfb8570a066497624fb33a7647a /ace/OS_NS_stropts.inl
parentd08ea62ad48bd46ed4dbe72614396a52906546d2 (diff)
downloadATCD-8df63015e2d521ec0babe9b62db2300278d9ce1b.tar.gz
ChangeLogTag: Sat Jan 1 11:45:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_stropts.inl')
-rw-r--r--ace/OS_NS_stropts.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS_NS_stropts.inl b/ace/OS_NS_stropts.inl
index 6b963ec6e63..38663c67cba 100644
--- a/ace/OS_NS_stropts.inl
+++ b/ace/OS_NS_stropts.inl
@@ -110,7 +110,7 @@ ACE_OS::ioctl (ACE_HANDLE handle,
#if defined (ACE_WIN32)
ACE_SOCKET sock = (ACE_SOCKET) handle;
- ACE_SOCKCALL_RETURN (::ioctlsocket (sock, cmd, (unsigned long *) val), int, -1);
+ ACE_SOCKCALL_RETURN (::ioctlsocket (sock, cmd, reinterpret_cast<unsigned long *> (val)), int, -1);
#elif defined (VXWORKS)
ACE_OSCALL_RETURN (::ioctl (handle, cmd, reinterpret_cast<int> (val)),
int, -1);