From: Tom Yu Date: Thu, 25 Mar 1999 23:49:52 +0000 (+0000) Subject: * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not X-Git-Tag: krb5-1.1-beta1~260 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f79a8ef264e17c74001d358f766fbe88b6a9aab5;p=krb5.git * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11312 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 788a4ab51..abd06fade 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 25 18:45:48 1999 Tom Yu + + * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not + char. + 1999-03-12 Theodore Ts'o * init_os_ctx.c (krb5_os_init_context, krb5_os_free_context): diff --git a/src/lib/krb5/os/promptusr.c b/src/lib/krb5/os/promptusr.c index 55b726d71..c38ecc927 100644 --- a/src/lib/krb5/os/promptusr.c +++ b/src/lib/krb5/os/promptusr.c @@ -48,7 +48,7 @@ krb5_os_get_tty_uio(context, uio) int fd; char read_string[BUFSIZ]; char *cp; - char ch; + int ch; /* get the file descriptor associated with stdin */ fd=fileno(stdin);