• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revision33a3f63785db811c404370a6eeb08adb0cc5450e (tree)
Time2022-10-02 04:30:05
AuthorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

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.

Change Summary

Incremental Difference

diff -r 972f4bebb11b -r 33a3f63785db src/if_cscope.c
--- a/src/if_cscope.c Sat Oct 01 20:45:05 2022 +0200
+++ b/src/if_cscope.c Sat Oct 01 21:30:05 2022 +0200
@@ -961,12 +961,12 @@
961961 #endif
962962 if (csinfo[i].ppath != NULL)
963963 {
964- len = STRLEN(cmd);
964+ len = (int)STRLEN(cmd);
965965 vim_snprintf(cmd + len, cmdlen - len, " -P%s", csinfo[i].ppath);
966966 }
967967 if (csinfo[i].flags != NULL)
968968 {
969- len = STRLEN(cmd);
969+ len = (int)STRLEN(cmd);
970970 vim_snprintf(cmd + len, cmdlen - len, " %s", csinfo[i].flags);
971971 }
972972 # ifdef UNIX
diff -r 972f4bebb11b -r 33a3f63785db src/indent.c
--- a/src/indent.c Sat Oct 01 20:45:05 2022 +0200
+++ b/src/indent.c Sat Oct 01 21:30:05 2022 +0200
@@ -1906,7 +1906,7 @@
19061906 inde_copy = vim_strsave(curbuf->b_p_inde);
19071907 if (inde_copy != NULL)
19081908 {
1909- indent = (int)eval_to_number(inde_copy);
1909+ indent = (int)eval_to_number(inde_copy, TRUE);
19101910 vim_free(inde_copy);
19111911 }
19121912
diff -r 972f4bebb11b -r 33a3f63785db src/version.c
--- a/src/version.c Sat Oct 01 20:45:05 2022 +0200
+++ b/src/version.c Sat Oct 01 21:30:05 2022 +0200
@@ -700,6 +700,8 @@
700700 static int included_patches[] =
701701 { /* Add new patch number below this line */
702702 /**/
703+ 635,
704+/**/
703705 634,
704706 /**/
705707 633,
Show on old repository browser