summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-24 22:00:54 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-24 22:01:20 +0200
commit4d76c0aa80e58ce944419bf36c695e7104c73712 (patch)
treeab8b80678c424e600f2f553ca1ffe1dbd20e6914 /source4/dsdb
parent9696bba1d7e8e71ca1d186b174dfa13ac418c5c9 (diff)
downloadsamba-4d76c0aa80e58ce944419bf36c695e7104c73712.tar.gz
samba-4d76c0aa80e58ce944419bf36c695e7104c73712.tar.bz2
samba-4d76c0aa80e58ce944419bf36c695e7104c73712.zip
s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/common/util_samr.c4
1 files changed, 2 insertions, 2 deletions
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);