summaryrefslogtreecommitdiff
path: root/source/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-25 13:44:35 +0200
committerVolker Lendecke <vl@samba.org>2008-05-25 13:53:44 +0200
commitd893b2ea13d2e64f1c13aa3984f77baa91a2c658 (patch)
tree19553c8c9f485490e65955039c055d3cc9f1b3db /source/rpc_client
parent2dbbd81677af9c470ee9370ca5414876d21c6b9b (diff)
downloadsamba-d893b2ea13d2e64f1c13aa3984f77baa91a2c658.tar.gz
Fix a const warning
Jelmer, would it be possible to make the rpc client functions take const pointers for pure [in] arguments?
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index cec2797a732..8ba79d3c6d6 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -2654,7 +2654,8 @@ static NTSTATUS rpc_pipe_get_tcp_port(const char *host,
status = rpccli_epm_Map(epm_pipe,
tmp_ctx,
- &(abstract_syntax->uuid),
+ CONST_DISCARD(struct GUID *,
+ &(abstract_syntax->uuid)),
map_tower,
entry_handle,
max_towers,