mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
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.
This commit is contained in:
parent
fce6e1def8
commit
6a91bf60e2
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user