summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-11 23:22:01 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-12 02:03:12 +0200
commit827ccdf6b9c36b7fe0c9b818debd422edceead37 (patch)
tree1d86e003b9e3d99852c26a197795af04254bde32 /source4/kdc
parentad898fd63815823309019403ef32f516f4dfbf86 (diff)
downloadsamba-827ccdf6b9c36b7fe0c9b818debd422edceead37.tar.gz
samba-827ccdf6b9c36b7fe0c9b818debd422edceead37.tar.bz2
samba-827ccdf6b9c36b7fe0c9b818debd422edceead37.zip
s4:kdc/wdc-samba4.c - fix integer counter types
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/wdc-samba4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/kdc/wdc-samba4.c b/source4/kdc/wdc-samba4.c
index f6e5546239..ce8f542ee2 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) {