cast to fix always true on on riscv and arm
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ void user_interactions() {
|
||||
|
||||
|
||||
ch = getch();
|
||||
if(ch != ERR) {
|
||||
if(ch != (char)ERR) {
|
||||
input[input_pass] = ch;
|
||||
input_pass++;
|
||||
if (ch == 27) { /* esc key */
|
||||
|
||||
Reference in New Issue
Block a user