summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-07 21:20:56 +0100
committerAndrew Bartlett <abartlet@samba.org>2010-02-25 08:17:11 +1100
commitf10fc7c16e3c71603e34c58fc0329f6d01d89603 (patch)
treedc1960b34bb115823d3b77dc336113fe5b7ede47
parent68caf9060621b8c0da183c38a9288a2c0a53b087 (diff)
downloadsamba-f10fc7c16e3c71603e34c58fc0329f6d01d89603.tar.gz
samba-f10fc7c16e3c71603e34c58fc0329f6d01d89603.tar.bz2
samba-f10fc7c16e3c71603e34c58fc0329f6d01d89603.zip
s4:cldap_server - make it "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-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;