git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samba: pass down size_t instead of int to add_string_to_array().
[metze/samba/wip.git]
/
source3
/
libads
/
ldap.c
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 06b4895eedbe0bef800344df261a9f917aed1c75..b46f5108013075703c7ad323fcdc5f21eb406e3d 100644
(file)
--- a/
source3/libads/ldap.c
+++ b/
source3/libads/ldap.c
@@
-3288,7
+3288,7
@@
ADS_STATUS ads_get_joinable_ous(ADS_STRUCT *ads,
if (!add_string_to_array(mem_ctx, dn,
(const char ***)ous,
-
(int *)
num_ous)) {
+ num_ous)) {
TALLOC_FREE(dn);
ads_msgfree(ads, res);
return ADS_ERROR(LDAP_NO_MEMORY);