From 33324e8582e29b9ab4ba2a689041891610203bc5 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 17 Jan 2022 18:31:09 +0100 Subject: [PATCH] [kbd] This cast was too narrow --- src/terminal/kbd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/kbd.h b/src/terminal/kbd.h index f8f0c2a8a..b22ad6e64 100644 --- a/src/terminal/kbd.h +++ b/src/terminal/kbd.h @@ -142,7 +142,7 @@ void kbd_ctrl_c(void); int is_blocked(void); void get_terminal_name(char[MAX_TERM_LEN]); -#define kbd_get_key(kbd_) (char)((kbd_)->key) +#define kbd_get_key(kbd_) ((kbd_)->key) #define kbd_key_is(kbd_, key) (kbd_get_key(kbd_) == (key)) #define kbd_get_modifier(kbd_) ((kbd_)->modifier)