1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

More const fixes for compiler warnings from the waf build.

This commit is contained in:
Jeremy Allison
2011-05-05 13:42:05 -07:00
parent 38492b16fe
commit e131c94ac1
27 changed files with 122 additions and 114 deletions

View File

@ -546,7 +546,7 @@ struct tevent_req *cli_smb_send(TALLOC_CTX *mem_ctx,
struct iovec iov;
NTSTATUS status;
iov.iov_base = CONST_DISCARD(void *, bytes);
iov.iov_base = discard_const_p(void, bytes);
iov.iov_len = num_bytes;
req = cli_smb_req_create(mem_ctx, ev, cli, smb_command,