less warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3750 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -132,7 +132,8 @@ main (int argc, char **argv)
|
||||
errx (1, "krb5_change_password: %s",
|
||||
krb5_get_err_text(context, ret));
|
||||
|
||||
printf ("%.*s\n", result_string.length, result_string.data);
|
||||
printf ("%.*s\n", (int)result_string.length,
|
||||
(char *)result_string.data);
|
||||
|
||||
krb5_data_free (&result_code_string);
|
||||
krb5_data_free (&result_string);
|
||||
|
@@ -296,7 +296,8 @@ change (krb5_auth_context auth_context,
|
||||
krb5_get_salt (principal, &salt);
|
||||
memset (&new_keyblock, 0, sizeof(new_keyblock));
|
||||
old_keyblock = &ent.keys.val[0].key;
|
||||
krb5_string_to_key_data (pwd_data, &salt, old_keyblock->keytype, /* XXX */
|
||||
krb5_string_to_key_data (pwd_data, &salt,
|
||||
old_keyblock->keytype, /* XXX */
|
||||
&new_keyblock);
|
||||
|
||||
if (new_keyblock.keytype == old_keyblock->keytype
|
||||
|
Reference in New Issue
Block a user