summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-04 15:44:10 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-04 18:16:23 +0100
commitffa03820f1352779988f7cf19190ef6ec2eae33d (patch)
tree6de5ad13ddbbf013b8342dad9e5fe84e7939a7ae
parentbf94d68df82f3c7085a6e468b4247fa55d4648ba (diff)
downloadsamba-ffa03820f1352779988f7cf19190ef6ec2eae33d.tar.gz
samba-ffa03820f1352779988f7cf19190ef6ec2eae33d.tar.bz2
samba-ffa03820f1352779988f7cf19190ef6ec2eae33d.zip
s4:operational LDB module - make the counters unsigned
No need to have signed counters here.
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index 7bb74689c6..886bacb6b6 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -344,7 +344,7 @@ static int operational_search_post_process(struct ldb_module *module,
bool sd_flags_set)
{
struct ldb_context *ldb;
- int i, a=0;
+ unsigned int i, a = 0;
ldb = ldb_module_get_ctx(module);
@@ -472,7 +472,7 @@ static int operational_search(struct ldb_module *module, struct ldb_request *req
struct operational_context *ac;
struct ldb_request *down_req;
const char **search_attrs = NULL;
- int i, a;
+ unsigned int i, a;
int ret;
ldb = ldb_module_get_ctx(module);