diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-07 21:15:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-05 17:51:30 +0100 |
commit | 6a91bf60e212082622c57448105154e7350d0028 (patch) | |
tree | cc846bbafe5500b83c80595dd4d0bf4e749cfd47 | |
parent | fce6e1def8539f1516827118d0cf10a12d1d91a0 (diff) | |
download | samba-6a91bf60e212082622c57448105154e7350d0028.tar.gz samba-6a91bf60e212082622c57448105154e7350d0028.tar.xz samba-6a91bf60e212082622c57448105154e7350d0028.zip |
s4:wrepl_server - 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.
-rw-r--r-- | source4/wrepl_server/wrepl_in_call.c | 2 | ||||
-rw-r--r-- | source4/wrepl_server/wrepl_scavenging.c | 6 | ||||
-rw-r--r-- | source4/wrepl_server/wrepl_server.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source4/wrepl_server/wrepl_in_call.c b/source4/wrepl_server/wrepl_in_call.c index 6737d6f5c8..f26a93b595 100644 --- a/source4/wrepl_server/wrepl_in_call.c +++ b/source4/wrepl_server/wrepl_in_call.c @@ -200,7 +200,7 @@ static NTSTATUS wreplsrv_in_send_request(struct wreplsrv_in_call *call) struct wrepl_wins_name *names; struct winsdb_record *rec; NTSTATUS status; - uint32_t i, j; + unsigned int i, j; time_t now = time(NULL); owner = wreplsrv_find_owner(service, service->table, owner_in->address); diff --git a/source4/wrepl_server/wrepl_scavenging.c b/source4/wrepl_server/wrepl_scavenging.c index 8fc7d0a6f0..b601f8658a 100644 --- a/source4/wrepl_server/wrepl_scavenging.c +++ b/source4/wrepl_server/wrepl_scavenging.c @@ -52,7 +52,7 @@ static NTSTATUS wreplsrv_scavenging_owned_records(struct wreplsrv_service *servi struct ldb_result *res = NULL; const char *owner_filter; const char *filter; - uint32_t i; + unsigned int i; int ret; time_t now = time(NULL); const char *now_timestr; @@ -206,7 +206,7 @@ static NTSTATUS wreplsrv_scavenging_replica_non_active_records(struct wreplsrv_s struct ldb_result *res = NULL; const char *owner_filter; const char *filter; - uint32_t i; + unsigned int i; int ret; time_t now = time(NULL); const char *now_timestr; @@ -421,7 +421,7 @@ static NTSTATUS wreplsrv_scavenging_replica_active_records(struct wreplsrv_servi struct ldb_result *res = NULL; const char *owner_filter; const char *filter; - uint32_t i; + unsigned int i; int ret; time_t now = time(NULL); const char *now_timestr; diff --git a/source4/wrepl_server/wrepl_server.c b/source4/wrepl_server/wrepl_server.c index afeda3d251..bb3a6ba574 100644 --- a/source4/wrepl_server/wrepl_server.c +++ b/source4/wrepl_server/wrepl_server.c @@ -139,7 +139,7 @@ NTSTATUS wreplsrv_load_partners(struct wreplsrv_service *service) struct ldb_result *res = NULL; int ret; TALLOC_CTX *tmp_ctx; - int i; + unsigned int i; uint64_t new_seqnumber; new_seqnumber = wins_config_db_get_seqnumber(service->config.ldb); @@ -363,7 +363,7 @@ static NTSTATUS wreplsrv_load_table(struct wreplsrv_service *service) NTSTATUS status; TALLOC_CTX *tmp_ctx = talloc_new(service); struct ldb_context *ldb = service->wins_db->ldb; - int i; + unsigned int i; struct wreplsrv_owner *local_owner; const char *wins_owner; uint64_t version; |