From f79a8ef264e17c74001d358f766fbe88b6a9aab5 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 25 Mar 1999 23:49:52 +0000 Subject: [PATCH] * 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 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/promptusr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.26.2