diff options
author | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:12:57 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2000-10-17 23:12:57 +0000 |
commit | 8c39822ea022b326621f28661de9fb31d6d5d4ec (patch) | |
tree | ba4ef7307442fcc9e34f6b21b974d2b833eaf9bc /src/clients/kpasswd | |
parent | 928051082e63e2ec40d5b9920c6c76efdd00357f (diff) | |
download | krb5-8c39822ea022b326621f28661de9fb31d6d5d4ec.zip krb5-8c39822ea022b326621f28661de9fb31d6d5d4ec.tar.gz krb5-8c39822ea022b326621f28661de9fb31d6d5d4ec.tar.bz2 |
* 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
Diffstat (limited to 'src/clients/kpasswd')
-rw-r--r-- | src/clients/kpasswd/ChangeLog | 5 | ||||
-rw-r--r-- | 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 6ef626a..d4cd06c 100644 --- a/src/clients/kpasswd/ChangeLog +++ b/src/clients/kpasswd/ChangeLog @@ -1,3 +1,8 @@ +2000-10-17 Ezra Peisach <epeisach@mit.edu> + + * kpasswd.c (main): Argument to krb5_read_password takes an + unsigned int as argument. + 2000-07-29 Ezra Peisach <epeisach@mit.edu> * kpasswd.c (main): Warnings cleanup. diff --git a/src/clients/kpasswd/kpasswd.c b/src/clients/kpasswd/kpasswd.c index 8256850..293d68f 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); } |