[krb5-auth-dialog] Avoid warning when building with MIT Kerberos
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Avoid warning when building with MIT Kerberos
- Date: Mon, 17 Jul 2017 06:01:58 +0000 (UTC)
commit 2691467aa5c4caccc894fbf11a2da27918d413db
Author: Guido Günther <agx sigxcpu org>
Date: Sun Jul 16 19:16:04 2017 +0200
Avoid warning when building with MIT Kerberos
Heimdal uses a size_t
src/ka-kerberos.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ka-kerberos.c b/src/ka-kerberos.c
index 0cb58cf..1ac71c4 100644
--- a/src/ka-kerberos.c
+++ b/src/ka-kerberos.c
@@ -466,7 +466,7 @@ auth_dialog_prompter (krb5_context ctx G_GNUC_UNUSED,
goto cleanup;
if (password_len + 1 > prompts[i].reply->length) {
g_warning ("Password too long %d/%zd", password_len + 1,
- prompts[i].reply->length);
+ (size_t)prompts[i].reply->length);
goto cleanup;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]