summaryrefslogtreecommitdiff
path: root/examples/QOS
diff options
context:
space:
mode:
Diffstat (limited to 'examples/QOS')
-rw-r--r--examples/QOS/Sender_QOS_Event_Handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/QOS/Sender_QOS_Event_Handler.cpp b/examples/QOS/Sender_QOS_Event_Handler.cpp
index 7adf94f4711..33d67368f73 100644
--- a/examples/QOS/Sender_QOS_Event_Handler.cpp
+++ b/examples/QOS/Sender_QOS_Event_Handler.cpp
@@ -96,7 +96,7 @@ ACE_QOS_Event_Handler::handle_qos (ACE_HANDLE)
ACE_OVERLAPPED ace_overlapped;
iovec iov;
- iov.iov_base = "Hello";
+ iov.iov_base = (void *) "Hello";
iov.iov_len = 5;
// For some really weird reason if I do not define the following