summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 22:33:32 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 22:33:32 +0200
commit645c3d200cd015597896d77fd4c22bc01a8b7da3 (patch)
tree34a5ded3a3a9eaf6bd237b29060180fdb0bc6863
parent95127b3f5f253ce5df6ec27972c456d0859d23c4 (diff)
downloadsamba-645c3d200cd015597896d77fd4c22bc01a8b7da3.tar.gz
samba-645c3d200cd015597896d77fd4c22bc01a8b7da3.tar.bz2
samba-645c3d200cd015597896d77fd4c22bc01a8b7da3.zip
s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10
-rw-r--r--source4/ntp_signd/ntp_signd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c
index 6a628e491a..3110b20059 100644
--- a/source4/ntp_signd/ntp_signd.c
+++ b/source4/ntp_signd/ntp_signd.c
@@ -346,10 +346,10 @@ static void ntp_signd_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,