s4:kdc: Fix size type for num_bind in kdc-heimdal
authorAndreas Schneider <asn@samba.org>
Fri, 18 Jan 2019 18:09:12 +0000 (19:09 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Sat, 19 Jan 2019 14:36:51 +0000 (15:36 +0100)
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

source4/kdc/kdc-heimdal.c

index b5de5a790d4093c6ee11a6e173acab3335857d15..ee4e1387def322fe75cff277799d4f48ddecb225 100644 (file)
@@ -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++) {