From f28bdc61f4183e1b7a2bbd6b1bb0b78e128420dd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 2 Sep 2005 13:07:42 +0000 Subject: r9953: get rid of compiler warning. Guenther (This used to be commit d4698acd5039dec0a375bb2841d02a2e305ded74) --- source3/lib/smbldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/smbldap.c') 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")); -- cgit