diff --git a/src/readline.c b/src/readline.c index ee1794b..a7b4dfb 100644 --- a/src/readline.c +++ b/src/readline.c @@ -95,7 +95,7 @@ static void callback_handler(char *line) { } break; case INPUT_CHANGE_TO: { strncpy(newpat, line, PATLEN); - change = calloc(totallines, sizeof(*change)); + change = (bool *)calloc(totallines, sizeof(*change)); input_mode = INPUT_CHANGE; force_window(); } return;