[PATCH 04/21] readkey: keys are unsugned char
Sascha Hauer
s.hauer at pengutronix.de
Tue Jul 8 01:50:00 PDT 2014
We have keys with values > 127, so it must be an unsigned char.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
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
More information about the barebox
mailing list