diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-08-23 07:22:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:16 -0500 |
commit | b0856b8ad007356ad806bb65d772ff54bfcaa887 (patch) | |
tree | ee03543f0d195f5a60620cd9e2cda8840dd5786a /source4 | |
parent | 8460fc7df9cf24d44b6878789f0dc511f8f98811 (diff) | |
download | samba-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.c | 4 |
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; |