mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
refactor: remove some casts to char * (#24200)
This commit is contained in:
@@ -873,8 +873,7 @@ static void f_confirm(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
|
||||
}
|
||||
|
||||
if (!error) {
|
||||
rettv->vval.v_number = do_dialog(type, NULL, (char *)message, (char *)buttons, def, NULL,
|
||||
false);
|
||||
rettv->vval.v_number = do_dialog(type, NULL, message, buttons, def, NULL, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user