commit | 3292a229402c9892f5ab90645fbfe2b1db342f5b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Oct 01 20:17:17 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Oct 01 20:17:17 2022 +0100 |
tree | 96db3a52ceef4823435d4cec72b6132d94a01eda | |
parent | a4e0b9785e409e9e660171cea76dfcc5fdafad9b [diff] [blame] |
patch 9.0.0635: build error and compiler warnings Problem: Build error and compiler warnings. Solution: Add missing change. Add type casts.
diff --git a/src/indent.c b/src/indent.c index 51585ec..79162bf 100644 --- a/src/indent.c +++ b/src/indent.c
@@ -1906,7 +1906,7 @@ 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); }