r19535: Fix warnings.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 2 Nov 2006 21:41:50 +0000 (21:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:24:45 +0000 (14:24 -0500)
source/torture/smbtorture.c

index b47127ff3fc94df887593a5ca575f6a882009b09..41ee1461d13b13cd13eadb9352ada8f7d82da48d 100644 (file)
@@ -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) {