diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-02-26 20:16:26 +0100 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2014-04-02 09:03:43 +0200 |
| commit | 88d0ff74a0e03ac2e1e83cb62329d08c54b1c538 (patch) | |
| tree | d48e36534cca868e6961915308557367bd0fe08a /source3 | |
| parent | 427db654acec8e66e4c272b4e515c584ccb368c7 (diff) | |
| download | samba-88d0ff74a0e03ac2e1e83cb62329d08c54b1c538.tar.gz samba-88d0ff74a0e03ac2e1e83cb62329d08c54b1c538.tar.xz samba-88d0ff74a0e03ac2e1e83cb62329d08c54b1c538.zip | |
s3:torture: avoid explicit casting and compiler warnings in pdbtest.c
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
| -rw-r--r-- | source3/torture/pdbtest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c index 990917f5cb..d391e96109 100644 --- a/source3/torture/pdbtest.c +++ b/source3/torture/pdbtest.c @@ -432,7 +432,7 @@ static bool test_trusted_domains(TALLOC_CTX *ctx, } -int main(int argc, char **argv) +int main(int argc, const char **argv) { TALLOC_CTX *ctx; struct samu *out = NULL; @@ -460,8 +460,7 @@ int main(int argc, char **argv) load_case_tables(); - pc = poptGetContext("pdbtest", argc, (const char **) argv, - long_options, 0); + pc = poptGetContext("pdbtest", argc, argv, long_options, 0); poptSetOtherOptionHelp(pc, "backend[:settings] username"); |
