summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-11 02:23:14 +0000
committerTim Potter <tpot@samba.org>2001-12-11 02:23:14 +0000
commitd1ebd259c8c06d467eb5ee305b21e9046f16e05b (patch)
tree1cd16f9fd4602c5243550b19e7a45a49e79876a3
parent1dc0e9096db11bf9c8fa7ba0424ab1e96bb177dc (diff)
downloadsamba-d1ebd259c8c06d467eb5ee305b21e9046f16e05b.tar.gz
samba-d1ebd259c8c06d467eb5ee305b21e9046f16e05b.tar.xz
samba-d1ebd259c8c06d467eb5ee305b21e9046f16e05b.zip
Grr - people who put const everywhere should fix up all the warnings they
generate.
-rw-r--r--source/rpcclient/cmd_lsarpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_lsarpc.c b/source/rpcclient/cmd_lsarpc.c
index 52ab9c3800e..528987d3e20 100644
--- a/source/rpcclient/cmd_lsarpc.c
+++ b/source/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;