* kpasswd.c (main): Argument to krb5_read_password takes an
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:12:57 +0000 (23:12 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:12:57 +0000 (23:12 +0000)
        unsigned int as argument.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12800 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/kpasswd/ChangeLog
src/clients/kpasswd/kpasswd.c

index 6ef626a57828753ca0b2ccec30755823dc9260ea..d4cd06c5952043d534f65a9103bb86c7442f0ac3 100644 (file)
@@ -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.
index 82568500f8870fb3ffe55fe5487fe9e9051b3675..293d68fbb27e570f50ef7cb8d5a9a53553cf11d6 100644 (file)
@@ -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);
    }