diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-07 19:18:39 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-07 19:20:05 +0100 |
commit | 6997185e36a0f497e78ff18481ee3a1a0a9aa059 (patch) | |
tree | 7da9db198231a88c482da00cb76bdb11af9afa40 | |
parent | a973d9eedb2e2db78b5985984f5f04ace4daf4da (diff) | |
download | samba-6997185e36a0f497e78ff18481ee3a1a0a9aa059.tar.gz samba-6997185e36a0f497e78ff18481ee3a1a0a9aa059.tar.bz2 samba-6997185e36a0f497e78ff18481ee3a1a0a9aa059.zip |
s4:ranged_results LDB module - change counter variables to "unsigned" where appropriate
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/ranged_results.c | 4 |
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; |