diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clikrb5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index 02897265e2..14b5285e45 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -216,7 +216,7 @@ static krb5_error_code smb_krb5_parse_name_norealm_conv(krb5_context context, return ret; } - ret = krb5_string_to_key_salt(context, enctype, password->data, salt, key); + ret = krb5_string_to_key_salt(context, enctype, (const char *)password->data, salt, key); krb5_free_salt(context, salt); return ret; } @@ -735,7 +735,7 @@ failed: static krb5_data kdata; kdata.data = (char *)krb5_principal_get_comp_string(context, principal, i); - kdata.length = strlen(kdata.data); + kdata.length = strlen((const char *)kdata.data); return &kdata; } #endif |