cast calloc
This commit is contained in:
parent
b16cd5dc63
commit
263f7e5649
@ -95,7 +95,7 @@ static void callback_handler(char *line) {
|
|||||||
} break;
|
} break;
|
||||||
case INPUT_CHANGE_TO: {
|
case INPUT_CHANGE_TO: {
|
||||||
strncpy(newpat, line, PATLEN);
|
strncpy(newpat, line, PATLEN);
|
||||||
change = calloc(totallines, sizeof(*change));
|
change = (bool *)calloc(totallines, sizeof(*change));
|
||||||
input_mode = INPUT_CHANGE;
|
input_mode = INPUT_CHANGE;
|
||||||
force_window();
|
force_window();
|
||||||
} return;
|
} return;
|
||||||
|
Loading…
Reference in New Issue
Block a user