summaryrefslogtreecommitdiff
path: root/source4/torture/ntp
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-10 22:22:14 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-10 22:45:49 +0200
commitece428f02c981eea4b8a0997fbe55d5ecf39c1a0 (patch)
tree3fe2c1bcaf608e25ae2cdd895ca9a5a4ac023134 /source4/torture/ntp
parent68c9877796cec39441cd323f7123f513e57cdb7e (diff)
downloadsamba-ece428f02c981eea4b8a0997fbe55d5ecf39c1a0.tar.gz
samba-ece428f02c981eea4b8a0997fbe55d5ecf39c1a0.tar.bz2
samba-ece428f02c981eea4b8a0997fbe55d5ecf39c1a0.zip
s4:torture/ntp/ntp_signd.c - add more "char *" casts in order to suppress Solaris warnings
Diffstat (limited to 'source4/torture/ntp')
-rw-r--r--source4/torture/ntp/ntp_signd.c4
1 files changed, 2 insertions, 2 deletions
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 */