From 827ccdf6b9c36b7fe0c9b818debd422edceead37 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 11 Apr 2010 23:22:01 +0200 Subject: s4:kdc/wdc-samba4.c - fix integer counter types --- source4/kdc/wdc-samba4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/kdc/wdc-samba4.c') diff --git a/source4/kdc/wdc-samba4.c b/source4/kdc/wdc-samba4.c index f6e55462396..ce8f542ee2e 100644 --- a/source4/kdc/wdc-samba4.c +++ b/source4/kdc/wdc-samba4.c @@ -106,7 +106,8 @@ static krb5_error_code samba_wdc_reget_pac(void *priv, krb5_context context, static char *get_netbios_name(TALLOC_CTX *mem_ctx, HostAddresses *addrs) { char *nb_name = NULL; - int len, i; + size_t len; + unsigned int i; for (i = 0; addrs && i < addrs->len; i++) { if (addrs->val[i].addr_type != KRB5_ADDRESS_NETBIOS) { -- cgit