We have keys with values > 127, so it must be an unsigned char.

Signed-off-by: Sascha Hauer <[email protected]>
---
 lib/readkey.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/readkey.c b/lib/readkey.c
index 7b38110..2073a73 100644
--- a/lib/readkey.c
+++ b/lib/readkey.c
@@ -25,7 +25,7 @@
 
 struct esc_cmds {
        const char *seq;
-       char val;
+       unsigned char val;
 };
 
 static const struct esc_cmds esccmds[] = {
-- 
2.0.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to