s4:kdc: Fix size type for num_bind in kdc-heimdal
[amitay/samba.git] / 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++) {