]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r21965: fix compiler warning
authorStefan Metzmacher <metze@samba.org>
Mon, 26 Mar 2007 16:40:29 +0000 (16:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:53 +0000 (12:18 -0500)
metze

source/torture/pdbtest.c

index 8b15f9629b97bf7fea938e0073276a1f18bdcb85..b51e36e3550d0e0ec327a5dce87ced3e408c7561 100644 (file)
@@ -236,7 +236,7 @@ int main(int argc, char **argv)
        uint32 expire, min_age, history;
        struct pdb_methods *pdb;
        poptContext pc;
-       static char *backend = NULL;
+       static const char *backend = NULL;
        static const char *unix_user = "nobody";
        struct poptOption long_options[] = {
                {"username", 'u', POPT_ARG_STRING, &unix_user, 0, "Unix user to use for testing", "USERNAME" },