summaryrefslogtreecommitdiffstats
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2014-11-14 14:12:26 +0100
committerGünther Deschner <gd@samba.org>2014-11-17 19:53:22 +0100
commita62cc2ce447870b4f4ab6ebf9c8d999af054d06f (patch)
tree17af40d5a9209790a4699e573842e0a75b48af21 /source3/libads
parentee8ddb8e02f70e9d6050490d96a87e4fd2297a05 (diff)
downloadsamba-a62cc2ce447870b4f4ab6ebf9c8d999af054d06f.tar.gz
samba-a62cc2ce447870b4f4ab6ebf9c8d999af054d06f.tar.xz
samba-a62cc2ce447870b4f4ab6ebf9c8d999af054d06f.zip
samba: pass down size_t instead of int to add_string_to_array().
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Nov 17 19:53:22 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 06b4895eed..b46f510801 100644
--- 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);