From: Volker Lendecke Date: Sun, 25 May 2008 11:44:35 +0000 (+0200) Subject: Fix a const warning X-Git-Tag: samba-3.3.0pre1~1135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d893b2ea13d2e64f1c13aa3984f77baa91a2c658;p=thirdparty%2Fsamba.git Fix a const warning Jelmer, would it be possible to make the rpc client functions take const pointers for pure [in] arguments? --- 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,