From: Stefan Metzmacher Date: Mon, 26 Mar 2007 16:40:29 +0000 (+0000) Subject: r21965: fix compiler warning X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~854 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cde58ee97ff0de1eb37f62fbf2d52134419dcb5f;p=thirdparty%2Fsamba.git r21965: fix compiler warning metze --- diff --git a/source/torture/pdbtest.c b/source/torture/pdbtest.c index 8b15f9629b9..b51e36e3550 100644 --- a/source/torture/pdbtest.c +++ b/source/torture/pdbtest.c @@ -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" },