# HG changeset patch # User Bram Moolenaar # Date 1664652605 -7200 # Node ID 33a3f63785db811c404370a6eeb08adb0cc5450e # Parent 972f4bebb11b321a4791d8a69002314e982fe884 patch 9.0.0635: build error and compiler warnings Commit: https://github.com/vim/vim/commit/3292a229402c9892f5ab90645fbfe2b1db342f5b Author: Bram Moolenaar Date: Sat Oct 1 20:17:17 2022 +0100 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/if_cscope.c b/src/if_cscope.c --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -961,12 +961,12 @@ err_closing: #endif if (csinfo[i].ppath != NULL) { - len = STRLEN(cmd); + len = (int)STRLEN(cmd); vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath); } if (csinfo[i].flags != NULL) { - len = STRLEN(cmd); + len = (int)STRLEN(cmd); vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags); } # ifdef UNIX diff --git a/src/indent.c b/src/indent.c --- a/src/indent.c +++ b/src/indent.c @@ -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); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 635, +/**/ 634, /**/ 633,