summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-30 16:46:13 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-30 15:00:04 +0000
commit2c0a9e9f2118d36c7d8af5caa72346581c2197c1 (patch)
treefdea8adf93d72319c411fbda099a9e763a51c260
parent45ee4e9a6b3847dc54b3c6bec8b4ebccbbac93da (diff)
downloadsamba-2c0a9e9f2118d36c7d8af5caa72346581c2197c1.tar.gz
samba-2c0a9e9f2118d36c7d8af5caa72346581c2197c1.tar.bz2
samba-2c0a9e9f2118d36c7d8af5caa72346581c2197c1.zip
s4:resolve_oids LDB module - fix counter types
-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);