summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-01 20:17:17 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-01 20:17:17 +0100
commit3292a229402c9892f5ab90645fbfe2b1db342f5b (patch)
tree96db3a52ceef4823435d4cec72b6132d94a01eda /src
parenta4e0b9785e409e9e660171cea76dfcc5fdafad9b (diff)
patch 9.0.0635: build error and compiler warningsv9.0.0635
Problem: Build error and compiler warnings. Solution: Add missing change. Add type casts.
Diffstat (limited to 'src')
-rw-r--r--src/if_cscope.c4
-rw-r--r--src/indent.c2
-rw-r--r--src/version.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index ad29fb9f50..809475039c 100644
--- 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
index 51585ec9e8..79162bf78e 100644
--- 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
index e4c46c21b7..571eef2e5c 100644
--- 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,