git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d39a7
)
Address gcc warnings.
author
Volker Lendecke
<vlendec@samba.org>
Sat, 19 Apr 2003 18:45:03 +0000
(18:45 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Sat, 19 Apr 2003 18:45:03 +0000
(18:45 +0000)
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
source/lib/ldap.c
patch
|
blob
|
history
diff --git
a/source/lib/ldap.c
b/source/lib/ldap.c
index d0e72c4844383438a8722c292317c401968bdc1e..917e03a871c807d81f76c30e216ac99d4191fafc 100644
(file)
--- a/
source/lib/ldap.c
+++ b/
source/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) {