summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 21:15:17 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-05 17:51:30 +0100
commit6a91bf60e212082622c57448105154e7350d0028 (patch)
treecc846bbafe5500b83c80595dd4d0bf4e749cfd47 /source4/wrepl_server
parentfce6e1def8539f1516827118d0cf10a12d1d91a0 (diff)
downloadsamba-6a91bf60e212082622c57448105154e7350d0028.tar.gz
samba-6a91bf60e212082622c57448105154e7350d0028.tar.bz2
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.
Diffstat (limited to 'source4/wrepl_server')
-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;