tvi: fix two compiler warnings in ex_read() - neatvi - [fork] simple vi-type ed… | |
git clone git://src.adamsgaard.dk/neatvi | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit e4391d06a150886b08bc2fa1965957a7bb27f12a | |
parent a3b79df332e3c5804ae57c0348549ff35a69f262 | |
Author: Ali Gholami Rudi <[email protected]> | |
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(-) | |
--- | |
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, "---"); |