From f83f0cb0605368387358782179460ca4d75a9541 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 28 Nov 2003 09:05:44 +0000 Subject: fixed some warnings (This used to be commit 1c2b8a93c50e3d5485732a2f06847166e883f939) --- source4/torture/mangle_test.c | 2 +- source4/torture/rpc/spoolss.c | 2 +- source4/torture/utable.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/mangle_test.c b/source4/torture/mangle_test.c index fadd884061..758cef4861 100644 --- a/source4/torture/mangle_test.c +++ b/source4/torture/mangle_test.c @@ -29,7 +29,7 @@ static unsigned total, collisions, failures; static BOOL test_one(struct cli_state *cli, const char *name) { int fnum; - char *shortname; + const char *shortname; fstring name2; NTSTATUS status; TDB_DATA data; diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 4d729fdf89..fc6cbae135 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -215,7 +215,7 @@ BOOL test_AddForm(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct spoolss_AddForm r; struct spoolss_AddFormInfo1 form; NTSTATUS status; - char *formname = "testform3"; + const char *formname = "testform3"; BOOL ret = True; r.in.handle = handle; diff --git a/source4/torture/utable.c b/source4/torture/utable.c index 317d7a80cc..2d7ad5a025 100644 --- a/source4/torture/utable.c +++ b/source4/torture/utable.c @@ -24,7 +24,7 @@ BOOL torture_utable(int dummy) { struct cli_state *cli; fstring fname; - char *alt_name; + const char *alt_name; int fnum; smb_ucs2_t c2; int c, len, fd; -- cgit