summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-02 21:41:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:45 -0500
commita1a05eaa4e056a9a818d695741359032f357dd86 (patch)
tree3f8e91f904ff3c46de04bccde549acffadf20a68
parent9ec6f0a3a17093f5c0fdf259ce36830eeccd215a (diff)
downloadsamba-a1a05eaa4e056a9a818d695741359032f357dd86.tar.gz
samba-a1a05eaa4e056a9a818d695741359032f357dd86.tar.bz2
samba-a1a05eaa4e056a9a818d695741359032f357dd86.zip
r19535: Fix warnings.
(This used to be commit 7443f4847df6614797c937dd8d45bf7b37464a20)
-rw-r--r--source4/torture/smbtorture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index b47127ff3f..41ee1461d1 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -438,7 +438,7 @@ void run_recipe(struct torture_context *tctx, const char *recipe)
for (i = 0; i < numlines; i++) {
int argc;
- char **argv;
+ const char **argv;
ret = poptParseArgvString(lines[i], &argc, &argv);
if (ret != 0) {
@@ -456,7 +456,7 @@ void run_shell(struct torture_context *tctx)
{
char *cline;
int argc;
- char **argv;
+ const char **argv;
int ret;
while (1) {