summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-26 19:43:51 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-26 19:43:51 +0200
commit0c29224da36e06aa5b395496ca1050be3f4e8df2 (patch)
tree425e1545eac5369b6a94170fbcf43240295b1466 /source4/kdc
parentc8a5ed8db9a765434db3d5e6037f4acfa33fd0e6 (diff)
downloadsamba-0c29224da36e06aa5b395496ca1050be3f4e8df2.tar.gz
samba-0c29224da36e06aa5b395496ca1050be3f4e8df2.tar.bz2
samba-0c29224da36e06aa5b395496ca1050be3f4e8df2.zip
s4:kdc/kdc.c - add cast to suppress warnings on Solaris 10 cc
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,