From 4d76c0aa80e58ce944419bf36c695e7104c73712 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 24 May 2010 22:00:54 +0200 Subject: s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case --- source4/dsdb/common/util_samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c index ab84bbcf10..94d29647ee 100644 --- a/source4/dsdb/common/util_samr.c +++ b/source4/dsdb/common/util_samr.c @@ -476,13 +476,13 @@ NTSTATUS dsdb_enum_group_mem(struct ldb_context *ldb, NTSTATUS dsdb_lookup_rids(struct ldb_context *ldb, TALLOC_CTX *mem_ctx, const struct dom_sid *domain_sid, - int num_rids, + unsigned int num_rids, uint32_t *rids, const char **names, enum lsa_SidType *lsa_attrs) { const char *attrs[] = { "sAMAccountType", "sAMAccountName", NULL }; - int i, num_mapped; + unsigned int i, num_mapped; TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); -- cgit