1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[text] explicit cast to char

This commit is contained in:
Witold Filipczyk 2022-02-06 17:12:47 +01:00
parent bca78f977f
commit 9916273dd7

View File

@ -1248,7 +1248,7 @@ try_prefix_key(struct session *ses, struct document_view *doc_view,
if (digit >= 1 && get_kbd_modifier(ev) == KBD_MOD_NONE) {
int nlinks = document->nlinks, length;
char d[2] = { get_kbd_key(ev), 0 };
char d[2] = { (char)get_kbd_key(ev), 0 };
set_kbd_repeat_count(ses, 0);