tvi: fix two compiler warnings in ex_read() - neatvi - [fork] simple vi-type editor with UTF-8 support
(HTM) git clone git://src.adamsgaard.dk/neatvi
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e4391d06a150886b08bc2fa1965957a7bb27f12a
(DIR) parent a3b79df332e3c5804ae57c0348549ff35a69f262
(HTM) Author: Ali Gholami Rudi <ali@rudi.ir>
Date: Sun, 22 Aug 2021 00:36:55 +0430
vi: fix two compiler warnings in ex_read()
Issue #33 in Github.
Diffstat:
M vi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/vi.c b/vi.c
t@@ -141,7 +141,7 @@ static char *vi_prompt(char *msg, int *kmap)
char *ex_read(char *msg)
{
struct sbuf *sb;
- char c;
+ int c;
if (xled) {
int oleft = xleft;
char *s = led_prompt(msg, "", &xkmap, "---");