summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-08 18:01:32 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-08 18:51:25 +0100
commit681c88798a1e16da9dc13688c1ed18659127684b (patch)
tree773d6b58d3fd012b8cea5ec618e4f8cf1938d12d /source4/lib
parent7e7d9a8a4827f283d13f393404da978130baaa93 (diff)
downloadsamba-681c88798a1e16da9dc13688c1ed18659127684b.tar.gz
samba-681c88798a1e16da9dc13688c1ed18659127684b.tar.bz2
samba-681c88798a1e16da9dc13688c1ed18659127684b.zip
LDB:paged searches module - change counters to "unsigned" where appropriate
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/modules/paged_searches.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/modules/paged_searches.c b/source4/lib/ldb/modules/paged_searches.c
index 09786c3eaa..39780cb699 100644
--- a/source4/lib/ldb/modules/paged_searches.c
+++ b/source4/lib/ldb/modules/paged_searches.c
@@ -52,7 +52,7 @@ struct ps_context {
bool pending;
char **saved_referrals;
- int num_referrals;
+ unsigned int num_referrals;
struct ldb_request *down_req;
};
@@ -132,7 +132,7 @@ static int send_referrals(struct ps_context *ac)
{
struct ldb_reply *ares;
int ret;
- int i;
+ unsigned int i;
for (i = 0; i < ac->num_referrals; i++) {
ares = talloc_zero(ac->req, struct ldb_reply);