summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stropts.inl
diff options
context:
space:
mode:
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);