diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-27 09:08:17 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-04-02 09:03:45 +0200 |
commit | 8195a7155a9b52a7c343a292fcb2012b0ab32b2b (patch) | |
tree | e1e3d852b4226ec3fd07bbcf5ad4736f1b27dd1a /source4/torture/masktest.c | |
parent | f2103cc7a78b883c867380e2a69a898f2f7c5da1 (diff) | |
download | samba-8195a7155a9b52a7c343a292fcb2012b0ab32b2b.tar.gz |
s4:torture: avoid argv related const warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/masktest.c')
-rw-r--r-- | source4/torture/masktest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index a711634b24c..b96c6dabbe5 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -286,7 +286,7 @@ static void usage(poptContext pc) /**************************************************************************** main program ****************************************************************************/ - int main(int argc,char *argv[]) +int main(int argc, const char *argv[]) { char *share; struct smbcli_state *cli; @@ -321,7 +321,7 @@ static void usage(poptContext pc) setlinebuf(stdout); seed = time(NULL); - pc = poptGetContext("locktest", argc, (const char **) argv, long_options, + pc = poptGetContext("locktest", argc, argv, long_options, POPT_CONTEXT_KEEP_FIRST); poptSetOtherOptionHelp(pc, "<unc>"); |