* kadmin.c (kadmin_cpw): Argument to krb5_read_password changed to
authorEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:05:56 +0000 (23:05 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 17 Oct 2000 23:05:56 +0000 (23:05 +0000)
        unsigned int.

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

src/kadmin/cli/ChangeLog
src/kadmin/cli/kadmin.c

index 509a7a42255f516b47dc307fe2d88d1f755a084b..0ad1e07adae27e6bdfaa5441167aba16d73a970a 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-17  Ezra Peisach  <epeisach@mit.edu>
+
+       * kadmin.c (kadmin_cpw): Argument to krb5_read_password changed to
+       unsigned int.
+
 2000-10-16  Tom Yu  <tlyu@mit.edu>
 
        * kadmin.c (strdur): Print negative durations somewhat (!)
index 948a711887f28598b7d331a685fdfb0cc5070236..87feb9af5d56c0fb8c68e80c0b53502654c2a33a 100644 (file)
@@ -629,7 +629,7 @@ void kadmin_cpw(argc, argv)
        free(canon);
        return;
     } else if (argc == 1) {
-       int i = sizeof (newpw) - 1;
+       unsigned int i = sizeof (newpw) - 1;
        
        sprintf(prompt1, "Enter password for principal \"%.900s\": ",
                *argv);
@@ -954,7 +954,7 @@ void kadmin_addprinc(argc, argv)
        mask |= KADM5_ATTRIBUTES;
        pass = dummybuf;
     } else if (pass == NULL) {
-       int i = sizeof (newpw) - 1;
+       unsigned int i = sizeof (newpw) - 1;
        
        sprintf(prompt1, "Enter password for principal \"%.900s\": ",
                canon);