From: Ezra Peisach Date: Tue, 17 Oct 2000 23:12:57 +0000 (+0000) Subject: * kpasswd.c (main): Argument to krb5_read_password takes an X-Git-Tag: krb5-1.3-alpha1~1803 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c39822ea022b326621f28661de9fb31d6d5d4ec;p=krb5.git * 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 --- 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); }