cast calloc

This commit is contained in:
anon 2023-09-05 19:06:22 +02:00
parent b16cd5dc63
commit 263f7e5649

View File

@ -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;