summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index cec2797a73..8ba79d3c6d 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/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,