summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/resolve_oids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/resolve_oids.c b/source4/dsdb/samdb/ldb_modules/resolve_oids.c
index 4f5c35e58a..c18cd2f6f4 100644
--- a/source4/dsdb/samdb/ldb_modules/resolve_oids.c
+++ b/source4/dsdb/samdb/ldb_modules/resolve_oids.c
@@ -194,7 +194,7 @@ static int resolve_oids_message_need(struct ldb_context *ldb,
struct dsdb_schema *schema,
const struct ldb_message *msg)
{
- int i;
+ unsigned int i;
for (i=0; i < msg->num_elements; i++) {
int ret;
@@ -453,7 +453,7 @@ static int resolve_oids_search(struct ldb_module *module, struct ldb_request *re
bool needed = false;
const char * const *attrs1;
const char **attrs2;
- uint32_t i;
+ unsigned int i;
ldb = ldb_module_get_ctx(module);
schema = dsdb_get_schema(ldb, NULL);