From b0856b8ad007356ad806bb65d772ff54bfcaa887 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 23 Aug 2004 07:22:31 +0000 Subject: r1996: fix compiler warnings metze (This used to be commit dd8d68f3ecb78a2acdec74aa14e1922ad29cabf7) --- source4/torture/raw/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index 9f4799d883..26039191f4 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -54,7 +54,7 @@ static BOOL test_session(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) { NTSTATUS status; BOOL ret = True; - char *username, *domain, *password; + const char *username, *domain, *password; struct smbcli_session *session; struct smbcli_session *session2; struct smbcli_session *session3; @@ -196,7 +196,7 @@ static BOOL test_tree(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) { NTSTATUS status; BOOL ret = True; - char *share; + const char *share; struct smbcli_tree *tree; union smb_tcon tcon; union smb_open io; -- cgit