summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:18:39 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:20:05 +0100
commit6997185e36a0f497e78ff18481ee3a1a0a9aa059 (patch)
tree7da9db198231a88c482da00cb76bdb11af9afa40 /source4/dsdb/samdb
parenta973d9eedb2e2db78b5985984f5f04ace4daf4da (diff)
downloadsamba-6997185e36a0f497e78ff18481ee3a1a0a9aa059.tar.gz
samba-6997185e36a0f497e78ff18481ee3a1a0a9aa059.tar.bz2
samba-6997185e36a0f497e78ff18481ee3a1a0a9aa059.zip
s4:ranged_results LDB module - change counter variables to "unsigned" where appropriate
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/ranged_results.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/ranged_results.c b/source4/dsdb/samdb/ldb_modules/ranged_results.c
index 5ce69a26a2..7639aef5c0 100644
--- a/source4/dsdb/samdb/ldb_modules/ranged_results.c
+++ b/source4/dsdb/samdb/ldb_modules/ranged_results.c
@@ -58,7 +58,7 @@ static int rr_search_callback(struct ldb_request *req, struct ldb_reply *ares)
{
struct ldb_context *ldb;
struct rr_context *ac;
- int i, j;
+ unsigned int i, j;
ac = talloc_get_type(req->context, struct rr_context);
ldb = ldb_module_get_ctx(ac->module);
@@ -174,7 +174,7 @@ static int rr_search_callback(struct ldb_request *req, struct ldb_reply *ares)
static int rr_search(struct ldb_module *module, struct ldb_request *req)
{
struct ldb_context *ldb;
- int i;
+ unsigned int i;
unsigned int start, end;
const char **new_attrs = NULL;
bool found_rr = false;