summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-08-23 07:22:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:16 -0500
commitb0856b8ad007356ad806bb65d772ff54bfcaa887 (patch)
treeee03543f0d195f5a60620cd9e2cda8840dd5786a /source4
parent8460fc7df9cf24d44b6878789f0dc511f8f98811 (diff)
downloadsamba-b0856b8ad007356ad806bb65d772ff54bfcaa887.tar.gz
samba-b0856b8ad007356ad806bb65d772ff54bfcaa887.tar.bz2
samba-b0856b8ad007356ad806bb65d772ff54bfcaa887.zip
r1996: fix compiler warnings
metze (This used to be commit dd8d68f3ecb78a2acdec74aa14e1922ad29cabf7)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/context.c4
1 files changed, 2 insertions, 2 deletions
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;