summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-09-02 13:07:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:29 -0500
commitf28bdc61f4183e1b7a2bbd6b1bb0b78e128420dd (patch)
tree7f0d89c42f3aa62fa6bb3c03caa96dd210d67cea /source3/lib
parente722cb25d8b2584a21dc6b4ecbca3b04c4dcb2c1 (diff)
downloadsamba-f28bdc61f4183e1b7a2bbd6b1bb0b78e128420dd.tar.gz
samba-f28bdc61f4183e1b7a2bbd6b1bb0b78e128420dd.tar.bz2
samba-f28bdc61f4183e1b7a2bbd6b1bb0b78e128420dd.zip
r9953: get rid of compiler warning.
Guenther (This used to be commit d4698acd5039dec0a375bb2841d02a2e305ded74)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 10bd56d087..cf7c8fc87f 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -1367,7 +1367,7 @@ static BOOL smbldap_check_root_dse(struct smbldap_state *ldap_state, const char
}
rc = ldap_search_s(ldap_state->ldap_struct, "", LDAP_SCOPE_BASE,
- "(objectclass=*)", attrs, 0 , &msg);
+ "(objectclass=*)", CONST_DISCARD(char **, attrs), 0 , &msg);
if (rc != LDAP_SUCCESS) {
DEBUG(3,("smbldap_check_root_dse: Could not search rootDSE\n"));