summaryrefslogtreecommitdiff
path: root/ace/OS_QoS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_QoS.cpp')
-rw-r--r--ace/OS_QoS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS_QoS.cpp b/ace/OS_QoS.cpp
index 0b2c23f11c6..4798ef4c20a 100644
--- a/ace/OS_QoS.cpp
+++ b/ace/OS_QoS.cpp
@@ -363,7 +363,7 @@ void
ACE_QoS::provider_specific (const iovec &ps)
{
#if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0)
- this->ProviderSpecific = (WSABUF) ((iovec &) ps);
+ this->ProviderSpecific = (WSABUF) (const_cast <iovec &> (ps));
#else
ACE_UNUSED_ARG (ps);
#endif /* ACE_HAS_WINSOCK2 */