summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-17 11:54:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:41 -0500
commit0691ed55cade8093213db38555edb536ee0c557d (patch)
treed4c196a01a7d5851f365940c77a8d3813e9db811 /source3/sam
parentaa2138ed5badedc5754978b61db1042617857690 (diff)
downloadsamba-0691ed55cade8093213db38555edb536ee0c557d.tar.gz
samba-0691ed55cade8093213db38555edb536ee0c557d.tar.bz2
samba-0691ed55cade8093213db38555edb536ee0c557d.zip
r17584: Some C++ Warnings
(This used to be commit f6194cf4b263454bbdf180a7d014ffc3498df497)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_rid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/sam/idmap_rid.c b/source3/sam/idmap_rid.c
index 23496d6969..63167accf3 100644
--- a/source3/sam/idmap_rid.c
+++ b/source3/sam/idmap_rid.c
@@ -196,9 +196,9 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
}
/* open a connection to the dc */
- username = secrets_fetch(SECRETS_AUTH_USER, NULL);
- password = secrets_fetch(SECRETS_AUTH_PASSWORD, NULL);
- domain = secrets_fetch(SECRETS_AUTH_DOMAIN, NULL);
+ username = (char *)secrets_fetch(SECRETS_AUTH_USER, NULL);
+ password = (char *)secrets_fetch(SECRETS_AUTH_PASSWORD, NULL);
+ domain = (char *)secrets_fetch(SECRETS_AUTH_DOMAIN, NULL);
if (username) {