diff options
Diffstat (limited to 'source4/libads')
-rw-r--r-- | source4/libads/kerberos_verify.c | 4 | ||||
-rw-r--r-- | source4/libads/krb5_setpw.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/libads/kerberos_verify.c b/source4/libads/kerberos_verify.c index 8b319ee554..48a8378d36 100644 --- a/source4/libads/kerberos_verify.c +++ b/source4/libads/kerberos_verify.c @@ -313,14 +313,14 @@ NTSTATUS ads_verify_ticket(const char *realm, const DATA_BLOB *ticket, #endif keytab, NULL, &tkt))) { DEBUG(10,("ads_verify_ticket: enc type [%u] decrypted message !\n", - (unsigned int)enctypes[i] )); + (uint_t)enctypes[i] )); auth_ok = True; break; } DEBUG((ret != KRB5_BAD_ENCTYPE) ? 3 : 10, ("ads_verify_ticket: enc type [%u] failed to decrypt with error %s\n", - (unsigned int)enctypes[i], error_message(ret))); + (uint_t)enctypes[i], error_message(ret))); } release_server_mutex(); diff --git a/source4/libads/krb5_setpw.c b/source4/libads/krb5_setpw.c index 5a736d4dcd..f6a5b9375c 100644 --- a/source4/libads/krb5_setpw.c +++ b/source4/libads/krb5_setpw.c @@ -199,7 +199,7 @@ static krb5_error_code setpw_result_code_string(krb5_context context, int result_code, const char **code_string) { - unsigned int idx = 0; + uint_t idx = 0; while (kpasswd_errors[idx].error_string != NULL) { if (kpasswd_errors[idx].result_code == |