summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/wrepl_server/wrepl_in_call.c2
-rw-r--r--source4/wrepl_server/wrepl_scavenging.c6
-rw-r--r--source4/wrepl_server/wrepl_server.c4
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;