To: vim_dev@googlegroups.com Subject: Patch 8.2.4097 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4097 Problem: Wrong number in error message on 32 bit system. (John Paul Adrian Glaubitz) Solution: Add type cast. (closes #9527) Files: src/vim9compile.c *** ../vim-8.2.4096/src/vim9compile.c 2022-01-13 21:15:17.237958552 +0000 --- src/vim9compile.c 2022-01-15 14:09:23.422377577 +0000 *************** *** 2008,2014 **** : isn->isn_arg.number != needed_list_len) { semsg(_(e_expected_nr_items_but_got_nr), ! needed_list_len, isn->isn_arg.number); goto theend; } } --- 2008,2014 ---- : isn->isn_arg.number != needed_list_len) { semsg(_(e_expected_nr_items_but_got_nr), ! needed_list_len, (int)isn->isn_arg.number); goto theend; } } *** ../vim-8.2.4096/src/version.c 2022-01-15 13:37:09.666956582 +0000 --- src/version.c 2022-01-15 14:12:17.930318669 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4097, /**/ -- [clop clop] GUARD #1: Halt! Who goes there? ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of Camelot. King of the Britons, defeator of the Saxons, sovereign of all England! GUARD #1: Pull the other one! The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///