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_partitions.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_partitions.c')
-rw-r--r-- | source4/dsdb/repl/drepl_partitions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/repl/drepl_partitions.c b/source4/dsdb/repl/drepl_partitions.c index b57a5c81c0..b17a17d5a3 100644 --- a/source4/dsdb/repl/drepl_partitions.c +++ b/source4/dsdb/repl/drepl_partitions.c @@ -40,7 +40,7 @@ WERROR dreplsrv_load_partitions(struct dreplsrv_service *s) struct ldb_result *r; struct ldb_message_element *el; static const char *attrs[] = { "hasMasterNCs", NULL }; - uint32_t i; + unsigned int i; int ret; basedn = samdb_ntds_settings_dn(s->samdb); @@ -195,7 +195,7 @@ static WERROR udv_convert(TALLOC_CTX *mem_ctx, const struct replUpToDateVectorCtr2 *udv, struct drsuapi_DsReplicaCursorCtrEx *udv_ex) { - int i; + uint32_t i; udv_ex->version = 2; udv_ex->reserved1 = 0; @@ -220,7 +220,7 @@ static WERROR dreplsrv_refresh_partition(struct dreplsrv_service *s, struct dom_sid *nc_sid; struct ldb_message_element *orf_el = NULL; struct ldb_result *r; - uint32_t i; + unsigned int i; int ret; TALLOC_CTX *mem_ctx = talloc_new(p); static const char *attrs[] = { |