patch 9.0.0635: build error and compiler warnings

Problem:    Build error and compiler warnings.
Solution:   Add missing change.  Add type casts.
This commit is contained in:
Bram Moolenaar
2022-10-01 20:17:17 +01:00
parent a4e0b9785e
commit 3292a22940
3 changed files with 5 additions and 3 deletions

View File

@ -1906,7 +1906,7 @@ get_expr_indent(void)
inde_copy = vim_strsave(curbuf->b_p_inde);
if (inde_copy != NULL)
{
indent = (int)eval_to_number(inde_copy);
indent = (int)eval_to_number(inde_copy, TRUE);
vim_free(inde_copy);
}