summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-04-27 08:19:10 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-04-27 08:19:10 +0200
commit8219c4f69c2fd2d1f0f795a5dc28dec6dfeb0079 (patch)
treea32637f91b1336a4aff2d7756b4a1c08ca2a5150
parent2f339f71bd40484959a7008982b243cef0b06bea (diff)
downloadsamba-8219c4f69c2fd2d1f0f795a5dc28dec6dfeb0079.tar.gz
samba-8219c4f69c2fd2d1f0f795a5dc28dec6dfeb0079.tar.bz2
samba-8219c4f69c2fd2d1f0f795a5dc28dec6dfeb0079.zip
s4:kcc_periodic.c - fix counter types
We are counting LDB objects here -> therefore "unsigned"
-rw-r--r--source4/dsdb/kcc/kcc_periodic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/kcc/kcc_periodic.c b/source4/dsdb/kcc/kcc_periodic.c
index 6dab6b5ea8..9937e2e6dd 100644
--- a/source4/dsdb/kcc/kcc_periodic.c
+++ b/source4/dsdb/kcc/kcc_periodic.c
@@ -62,7 +62,7 @@ static bool check_MasterNC(struct kccsrv_partition *p, struct repsFromToBlob *r,
struct repsFromTo1 *r1;
r1 = &r->ctr.ctr1;
struct GUID invocation_id = r1->source_dsa_invocation_id;
- int i, j;
+ unsigned int i, j;
for (i=0; i<res->count; i++) {
struct ldb_message *msg = res->msgs[i];