* promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
authorTom Yu <tlyu@mit.edu>
Thu, 25 Mar 1999 23:49:52 +0000 (23:49 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 25 Mar 1999 23:49:52 +0000 (23:49 +0000)
char.

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

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/promptusr.c

index 788a4ab516788c96495c915ed2865734a9615225..abd06fade1e37ff7aaf05a483374094c0853a042 100644 (file)
@@ -1,3 +1,8 @@
+Thu Mar 25 18:45:48 1999  Tom Yu  <tlyu@mit.edu>
+
+       * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
+       char.
+
 1999-03-12  Theodore Ts'o  <tytso@rsts-11.mit.edu>
 
        * init_os_ctx.c (krb5_os_init_context, krb5_os_free_context):
index 55b726d717d52cadd5f13c8da7f2bb482aa1d179..c38ecc927cede2642325d8326eb3ee45e6fda252 100644 (file)
@@ -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);