summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/cldap_server/cldap_server.c2
-rw-r--r--source4/cldap_server/netlogon.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c
index 25c5c9a1ba..da59e0ccec 100644
--- a/source4/cldap_server/cldap_server.c
+++ b/source4/cldap_server/cldap_server.c
@@ -151,7 +151,7 @@ static NTSTATUS cldapd_startup_interfaces(struct cldapd_server *cldapd, struct l
int num_interfaces;
TALLOC_CTX *tmp_ctx = talloc_new(cldapd);
NTSTATUS status;
- int i;
+ unsigned int i;
num_interfaces = iface_count(ifaces);
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c
index 7072953121..e6a4ab373c 100644
--- a/source4/cldap_server/netlogon.c
+++ b/source4/cldap_server/netlogon.c
@@ -340,7 +340,7 @@ void cldapd_netlogon_request(struct cldap_socket *cldap,
struct ldb_parse_tree *tree,
struct tsocket_address *src)
{
- int i;
+ unsigned int i;
const char *domain = NULL;
const char *host = NULL;
const char *user = NULL;