summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-12-07 17:43:58 +0100
committerJeremy Allison <jra@samba.org>2018-03-20 23:16:15 +0100
commit939b4723a7d159466bfe2e66ddcb38012e412385 (patch)
tree9eb062af93598ac3f3e9877946a104873cc0fbf2 /source4
parent8438897828b16bfc5985d02b76268609a7610c7d (diff)
downloadsamba-939b4723a7d159466bfe2e66ddcb38012e412385.tar.gz
s4:cldap_server: Fix size types
This fixes compilation with -Wstrict-overflow=2 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/cldap_server/cldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c
index 3f845c7e240..a0cde776550 100644
--- a/source4/cldap_server/cldap_server.c
+++ b/source4/cldap_server/cldap_server.c
@@ -154,7 +154,7 @@ static NTSTATUS cldapd_startup_interfaces(struct cldapd_server *cldapd, struct l
/* if we are allowing incoming packets from any address, then
we need to bind to the wildcard address */
if (!lpcfg_bind_interfaces_only(lp_ctx)) {
- int num_binds = 0;
+ size_t num_binds = 0;
char **wcard = iface_list_wildcard(cldapd);
NT_STATUS_HAVE_NO_MEMORY(wcard);
for (i=0; wcard[i]; i++) {