changeset 30600:33a3f63785db v9.0.0635

patch 9.0.0635: build error and compiler warnings Commit: https://github.com/vim/vim/commit/3292a229402c9892f5ab90645fbfe2b1db342f5b Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Oct 2022 21:30:05 +0200
parents 972f4bebb11b
children 6194c0ba3526
files src/if_cscope.c src/indent.c src/version.c
diffstat 3 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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);
     }
 
--- 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,