mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s4:torture/ntp/ntp_signd.c - add more "char *" casts in order to suppress Solaris warnings
This commit is contained in:
parent
68c9877796
commit
ece428f02c
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user