git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4c6c7e
)
s3-dcerpc: fix c++ warning.
author
Günther Deschner
<gd@samba.org>
Thu, 15 Jul 2010 23:11:39 +0000
(
01:11
+0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 15 Jul 2010 23:51:18 +0000
(
01:51
+0200)
Guenther
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index bda152c505dca8db5cceb97a257c2fccfcccf2c5..c90e06095ca3f3e0e9dd4dc74786ed7ba0ed1b0a 100644
(file)
--- 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;