summaryrefslogtreecommitdiffstats
path: root/source4/libnet/libnet_samsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/libnet_samsync.c')
-rw-r--r--source4/libnet/libnet_samsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_samsync.c b/source4/libnet/libnet_samsync.c
index bdfb46dfd98..706d9bb5696 100644
--- a/source4/libnet/libnet_samsync.c
+++ b/source4/libnet/libnet_samsync.c
@@ -45,7 +45,7 @@ NTSTATUS libnet_SamSync_netlogon(struct libnet_context *ctx, TALLOC_CTX *mem_ctx
struct libnet_RpcConnect *c;
struct libnet_SamSync_state *state;
const enum netr_SamDatabaseID database_ids[] = {SAM_DATABASE_DOMAIN, SAM_DATABASE_BUILTIN, SAM_DATABASE_PRIVS};
- int i;
+ unsigned int i;
samsync_ctx = talloc_named(mem_ctx, 0, "SamSync top context");
@@ -209,7 +209,7 @@ NTSTATUS libnet_SamSync_netlogon(struct libnet_context *ctx, TALLOC_CTX *mem_ctx
dbsync.out.sync_context = &sync_context;
do {
- int d;
+ uint32_t d;
loop_ctx = talloc_named(samsync_ctx, 0, "DatabaseSync loop context");
netlogon_creds_client_authenticator(creds, &credential);