From 89c3f88a345f0ab72f7041bc034f76d259aae2fa Mon Sep 17 00:00:00 2001 From: nova Date: Tue, 4 Aug 2026 21:31:19 +0200 Subject: [PATCH] cast to fix always true on on riscv and arm --- interactions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactions.c b/interactions.c index f5087dc..6c6c4bd 100644 --- a/interactions.c +++ b/interactions.c @@ -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 */