diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-06 20:14:41 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-05 18:28:35 +0100 |
commit | 3ec4c643a4e1d3f2532b68cec816fa3f847eac1c (patch) | |
tree | d8e616e31ac1e0a194a551823dcf071342532327 /source4/dsdb/repl/drepl_notify.c | |
parent | 6a91bf60e212082622c57448105154e7350d0028 (diff) | |
download | samba-3ec4c643a4e1d3f2532b68cec816fa3f847eac1c.tar.gz samba-3ec4c643a4e1d3f2532b68cec816fa3f847eac1c.tar.bz2 samba-3ec4c643a4e1d3f2532b68cec816fa3f847eac1c.zip |
s4:repl - change also here the counter variables to "unsigned"
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't
specify the bitlength of the unsigned type.
Diffstat (limited to 'source4/dsdb/repl/drepl_notify.c')
-rw-r--r-- | source4/dsdb/repl/drepl_notify.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_notify.c b/source4/dsdb/repl/drepl_notify.c index c3ca5ed310..5047da3307 100644 --- a/source4/dsdb/repl/drepl_notify.c +++ b/source4/dsdb/repl/drepl_notify.c @@ -170,7 +170,7 @@ static void dreplsrv_notify_del_repsTo(struct dreplsrv_notify_operation *op) struct repsFromToBlob *reps; WERROR werr; struct dreplsrv_service *s = op->service; - int i; + uint32_t i; werr = dsdb_loadreps(s->samdb, op, op->source_dsa->partition->dn, "repsTo", &reps, &count); if (!W_ERROR_IS_OK(werr)) { @@ -324,7 +324,8 @@ static WERROR dreplsrv_notify_check(struct dreplsrv_service *s, WERROR werr; uint64_t uSNHighest; uint64_t uSNUrgent; - int ret, i; + uint32_t i; + int ret; werr = dsdb_loadreps(s->samdb, mem_ctx, p->dn, "repsTo", &reps, &count); if (count == 0) { |