From 2029f3028cddaa0f2866092416bf49b6bfd8513a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 19 Apr 2003 18:45:03 +0000 Subject: Address gcc warnings. I could not fix the "passing arg 5 of `ldap_search_s'" completely with gcc -Wall. A non-developer compile does not complain though. Volker (This used to be commit dcbbbd66a9be799998476701a9e1059c14e4f061) --- source3/lib/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/ldap.c b/source3/lib/ldap.c index d0e72c4844..917e03a871 100644 --- a/source3/lib/ldap.c +++ b/source3/lib/ldap.c @@ -503,7 +503,7 @@ int smb_ldap_search(struct smb_ldap_privates *ldap_state, continue; rc = ldap_search_s(ldap_state->ldap_struct, base, scope, - filter, attrs, attrsonly, res); + filter, (char **)attrs, attrsonly, res); } if (rc == LDAP_SERVER_DOWN) { -- cgit