Use a char, not a char[1] in ttgetc and cast the return value to int.
authormillert <millert@openbsd.org>
Thu, 2 Mar 2000 17:01:41 +0000 (17:01 +0000)
committermillert <millert@openbsd.org>
Thu, 2 Mar 2000 17:01:41 +0000 (17:01 +0000)
commit74cbb039a91058fad54063fe9ad06ab284d0cdee
tree7c985fb50bbd782d1dd31bec0be76a8335c2c416
parent3c24253280dfd68081485e0637b0440c791f95db
Use a char, not a char[1] in ttgetc and cast the return value to int.
Perhaps this should really be a u_char but I don't think it really matters.
usr.bin/mg/ttyio.c