summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2019-01-18 19:09:12 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-01-19 15:36:51 +0100
commit448d67bae7201523f971f02d2f8578752cd83706 (patch)
tree1964bd8a06227a6accb4bf3b281baffe4d10ba70 /source4/kdc
parentc195134e3550530d3abb3012d3b63860bb872c85 (diff)
downloadsamba-448d67bae7201523f971f02d2f8578752cd83706.tar.gz
s4:kdc: Fix size type for num_bind in kdc-heimdal
This fixes a compile error on sn-devel184. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Sat Jan 19 15:36:51 CET 2019 on sn-devel-144
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/kdc-heimdal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kdc-heimdal.c b/source4/kdc/kdc-heimdal.c
index b5de5a790d4..ee4e1387def 100644
--- a/source4/kdc/kdc-heimdal.c
+++ b/source4/kdc/kdc-heimdal.c
@@ -128,7 +128,7 @@ static NTSTATUS kdc_startup_interfaces(struct kdc_server *kdc,
/* 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(kdc);
NT_STATUS_HAVE_NO_MEMORY(wcard);
for (i=0; wcard[i]; i++) {