diff options
author | Günther Deschner <gd@samba.org> | 2010-07-16 01:11:39 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-16 01:51:18 +0200 |
commit | 7cf4797dd3c13555dee59fdf0c959ac66b7633b1 (patch) | |
tree | f43b2b3565a50c716ab53518aa4fe2df10f63310 | |
parent | f4c6c7e7b8714e8ab6b1245ab95e19133956d83e (diff) | |
download | samba-7cf4797dd3c13555dee59fdf0c959ac66b7633b1.tar.gz samba-7cf4797dd3c13555dee59fdf0c959ac66b7633b1.tar.bz2 samba-7cf4797dd3c13555dee59fdf0c959ac66b7633b1.zip |
s3-dcerpc: fix c++ warning.
Guenther
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index bda152c505..c90e06095c 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1698,7 +1698,7 @@ static NTSTATUS create_bind_or_alt_ctx_internal(TALLOC_CTX *mem_ctx, ctx_list.context_id = 0; ctx_list.num_transfer_syntaxes = 1; ctx_list.abstract_syntax = *abstract; - ctx_list.transfer_syntaxes = discard_const(transfer); + ctx_list.transfer_syntaxes = (struct ndr_syntax_id *)discard_const(transfer); u.bind.max_xmit_frag = RPC_MAX_PDU_FRAG_LEN; u.bind.max_recv_frag = RPC_MAX_PDU_FRAG_LEN; |