1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

LDB:paged searches module - change counters to "unsigned" where appropriate

This commit is contained in:
Matthias Dieter Wallnöfer 2010-03-08 18:01:32 +01:00
parent 7e7d9a8a48
commit 681c88798a

View File

@ -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);