• R/O
  • SSH

vim: Commit

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


Commit MetaInfo

Revisión0e88b48575ee6b694c8fa33806a0898cde600603 (tree)
Tiempo2022-01-15 23:30:03
AutorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

patch 8.2.4097: wrong number in error message on 32 bit system

Commit: https://github.com/vim/vim/commit/f60a63485ea26d9bda1618d1b72662eca65b5f1f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 15 14:16:37 2022 +0000

patch 8.2.4097: wrong number in error message on 32 bit system
Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
Glaubitz)
Solution: Add type cast. (closes #9527)

Cambiar Resumen

Diferencia incremental

diff -r aa9e2004c15d -r 0e88b48575ee src/version.c
--- a/src/version.c Sat Jan 15 14:45:04 2022 +0100
+++ b/src/version.c Sat Jan 15 15:30:03 2022 +0100
@@ -751,6 +751,8 @@
751751 static int included_patches[] =
752752 { /* Add new patch number below this line */
753753 /**/
754+ 4097,
755+/**/
754756 4096,
755757 /**/
756758 4095,
diff -r aa9e2004c15d -r 0e88b48575ee src/vim9compile.c
--- a/src/vim9compile.c Sat Jan 15 14:45:04 2022 +0100
+++ b/src/vim9compile.c Sat Jan 15 15:30:03 2022 +0100
@@ -2008,7 +2008,7 @@
20082008 : isn->isn_arg.number != needed_list_len)
20092009 {
20102010 semsg(_(e_expected_nr_items_but_got_nr),
2011- needed_list_len, isn->isn_arg.number);
2011+ needed_list_len, (int)isn->isn_arg.number);
20122012 goto theend;
20132013 }
20142014 }
Show on old repository browser