summaryrefslogtreecommitdiff
path: root/source3
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
commit44d423419a976a9d1a891774d01770bd93b31d46 (patch)
treec4b9f1e5046c4c627e88b0ca7428c36bf9ab09ae /source3
parent31611dd2f4a6833f1b9cbbba493138266c70674f (diff)
downloadsamba-44d423419a976a9d1a891774d01770bd93b31d46.tar.gz
samba-44d423419a976a9d1a891774d01770bd93b31d46.tar.bz2
samba-44d423419a976a9d1a891774d01770bd93b31d46.zip
Grr - people who put const everywhere should fix up all the warnings they
generate. (This used to be commit d1ebd259c8c06d467eb5ee305b21e9046f16e05b)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c3
1 files changed, 2 insertions, 1 deletions
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;