]> granicus.if.org Git - vim/commitdiff
patch 9.0.0635: build error and compiler warnings v9.0.0635
authorBram Moolenaar <Bram@vim.org>
Sat, 1 Oct 2022 19:17:17 +0000 (20:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 1 Oct 2022 19:17:17 +0000 (20:17 +0100)
Problem:    Build error and compiler warnings.
Solution:   Add missing change.  Add type casts.

src/if_cscope.c
src/indent.c
src/version.c

index ad29fb9f507c5246c56072affeb5bb8699e3609c..809475039c1dc79b49232e03b5c7f29c9f6f5c6e 100644 (file)
@@ -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
index 51585ec9e8bc25d801705c65a815e5113008f864..79162bf78e902e3d8df230319d1176d0d32b39c4 100644 (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);
     }
 
index e4c46c21b75b65b700a02f95cfc31f1b680c73f3..571eef2e5cf84dfd325d0117359d4f46ddb5cb29 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    635,
 /**/
     634,
 /**/