From 633ff74428c68b18b3e5056a5cd49f94b3c07cb4 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 17 Oct 2000 23:05:56 +0000 Subject: [PATCH] * kadmin.c (kadmin_cpw): Argument to krb5_read_password changed to unsigned int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12790 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/cli/ChangeLog | 5 +++++ src/kadmin/cli/kadmin.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index 509a7a422..0ad1e07ad 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,8 @@ +2000-10-17 Ezra Peisach + + * kadmin.c (kadmin_cpw): Argument to krb5_read_password changed to + unsigned int. + 2000-10-16 Tom Yu * kadmin.c (strdur): Print negative durations somewhat (!) diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index 948a71188..87feb9af5 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -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); -- 2.26.2