From 8c39822ea022b326621f28661de9fb31d6d5d4ec Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 17 Oct 2000 23:12:57 +0000 Subject: [PATCH] * kpasswd.c (main): Argument to krb5_read_password takes an unsigned int as argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12800 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kpasswd/ChangeLog | 5 +++++ src/clients/kpasswd/kpasswd.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/clients/kpasswd/ChangeLog b/src/clients/kpasswd/ChangeLog index 6ef626a57..d4cd06c59 100644 --- a/src/clients/kpasswd/ChangeLog +++ b/src/clients/kpasswd/ChangeLog @@ -1,3 +1,8 @@ +2000-10-17 Ezra Peisach + + * kpasswd.c (main): Argument to krb5_read_password takes an + unsigned int as argument. + 2000-07-29 Ezra Peisach * kpasswd.c (main): Warnings cleanup. diff --git a/src/clients/kpasswd/kpasswd.c b/src/clients/kpasswd/kpasswd.c index 82568500f..293d68fbb 100644 --- a/src/clients/kpasswd/kpasswd.c +++ b/src/clients/kpasswd/kpasswd.c @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) krb5_creds creds; char pw[1024]; - int pwlen; + unsigned int pwlen; int result_code; krb5_data result_code_string, result_string; @@ -133,9 +133,9 @@ int main(int argc, char *argv[]) if (result_code) { printf("%.*s%s%.*s\n", - result_code_string.length, result_code_string.data, + (int) result_code_string.length, result_code_string.data, result_string.length?": ":"", - result_string.length, result_string.data); + (int) result_string.length, result_string.data); exit(2); } -- 2.26.2