summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-04-19 18:45:03 +0000
committerVolker Lendecke <vlendec@samba.org>2003-04-19 18:45:03 +0000
commit2029f3028cddaa0f2866092416bf49b6bfd8513a (patch)
treec1dc3be6ca959b387715d6eb5e6b1103faaf7292 /source3/lib
parentef423a45209562436c83925b9dabb2aadb4ab72b (diff)
downloadsamba-2029f3028cddaa0f2866092416bf49b6bfd8513a.tar.gz
samba-2029f3028cddaa0f2866092416bf49b6bfd8513a.tar.bz2
samba-2029f3028cddaa0f2866092416bf49b6bfd8513a.zip
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)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ldap.c2
1 files changed, 1 insertions, 1 deletions
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) {