diff options
author | Volker Lendecke <vl@samba.org> | 2008-05-25 13:44:35 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-25 13:53:44 +0200 |
commit | f1d160f33302519cfc1406579d2236063d827a27 (patch) | |
tree | 3547f2c77f2ae40b973fddd0b155e398ab27e339 /source3 | |
parent | 5b237b8d30a09dd59c619accba65c118698c9120 (diff) | |
download | samba-f1d160f33302519cfc1406579d2236063d827a27.tar.gz samba-f1d160f33302519cfc1406579d2236063d827a27.tar.bz2 samba-f1d160f33302519cfc1406579d2236063d827a27.zip |
Fix a const warning
Jelmer, would it be possible to make the rpc client functions take const
pointers for pure [in] arguments?
(This used to be commit d893b2ea13d2e64f1c13aa3984f77baa91a2c658)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 3 |
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, |