From cf21613df0a66e16a2b6517501e462d1f5e15e01 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Mon, 20 Aug 2018 12:58:49 +0900 Subject: [PATCH] [bim] Fix type of some vars used for bim_getch --- apps/bim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/bim.c b/apps/bim.c index bebb1752..91c3389e 100644 --- a/apps/bim.c +++ b/apps/bim.c @@ -3158,7 +3158,7 @@ done: * where the command input bar is rendered. */ void command_mode(void) { - char c; + int c; char buffer[1024] = {0}; int buffer_len = 0; @@ -3265,7 +3265,7 @@ void draw_search_match(int line, char * buffer, int redraw_buffer) { * Search text for substring match. */ void search_mode(void) { - char c; + int c; char buffer[1024] = {0}; int buffer_len = 0;