From ece428f02c981eea4b8a0997fbe55d5ecf39c1a0 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 10 Sep 2010 22:22:14 +0200 Subject: s4:torture/ntp/ntp_signd.c - add more "char *" casts in order to suppress Solaris warnings --- source4/torture/ntp/ntp_signd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/ntp/ntp_signd.c b/source4/torture/ntp/ntp_signd.c index ca5fb14c6e..b651c76059 100644 --- a/source4/torture/ntp/ntp_signd.c +++ b/source4/torture/ntp/ntp_signd.c @@ -192,10 +192,10 @@ static bool test_ntp_signd(struct torture_context *tctx, * First add the length of the request buffer */ RSIVAL(signd_client->request_hdr, 0, sign_req_blob.length); - signd_client->request_iov[0].iov_base = signd_client->request_hdr; + signd_client->request_iov[0].iov_base = (char *) signd_client->request_hdr; signd_client->request_iov[0].iov_len = 4; - signd_client->request_iov[1].iov_base = sign_req_blob.data; + signd_client->request_iov[1].iov_base = (char *) sign_req_blob.data; signd_client->request_iov[1].iov_len = sign_req_blob.length; /* Fire the request buffer */ -- cgit