git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:kdc/wdc-samba4.c - fix integer counter types
[ira/wip.git]
/
source4
/
kdc
/
wdc-samba4.c
diff --git
a/source4/kdc/wdc-samba4.c
b/source4/kdc/wdc-samba4.c
index f6e554623965061399577874791f760e246d5f59..ce8f542ee2e67872afee2e8bfca282d789068ade 100644
(file)
--- 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) {