summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index b824bb86b0..e16e20b470 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -219,10 +219,10 @@ static void kdc_tcp_call_loop(struct tevent_req *subreq)
/* First add the length of the out buffer */
RSIVAL(call->out_hdr, 0, call->out.length);
- call->out_iov[0].iov_base = call->out_hdr;
+ call->out_iov[0].iov_base = (char *) call->out_hdr;
call->out_iov[0].iov_len = 4;
- call->out_iov[1].iov_base = call->out.data;
+ call->out_iov[1].iov_base = (char *) call->out.data;
call->out_iov[1].iov_len = call->out.length;
subreq = tstream_writev_queue_send(call,