From 44d423419a976a9d1a891774d01770bd93b31d46 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 11 Dec 2001 02:23:14 +0000 Subject: Grr - people who put const everywhere should fix up all the warnings they generate. (This used to be commit d1ebd259c8c06d467eb5ee305b21e9046f16e05b) --- source3/rpcclient/cmd_lsarpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/rpcclient/cmd_lsarpc.c') diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 52ab9c3800..528987d3e2 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -96,7 +96,8 @@ static NTSTATUS cmd_lsa_lookup_names(struct cli_state *cli, /* Lookup the names */ result = cli_lsa_lookup_names(cli, mem_ctx, &pol, argc - 1, - &argv[1], &sids, &types, &num_names); + (const char **)&argv[1], &sids, + &types, &num_names); if (!NT_STATUS_IS_OK(result)) goto done; -- cgit