To: vim_dev@googlegroups.com Subject: Patch 8.2.1847 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1847 Problem: Vim9: using negative value for unsigned type. Solution: Use zero instead of -1. Files: src/vim9compile.c *** ../vim-8.2.1846/src/vim9compile.c 2020-10-15 12:46:38.733199522 +0200 --- src/vim9compile.c 2020-10-15 13:56:16.062457332 +0200 *************** *** 1840,1846 **** return -1; if (sid == current_sctx.sc_sid) { ! sallvar_T *sav = find_script_var(name, (size_t)-1, cctx); if (sav == NULL) return -2; --- 1840,1846 ---- return -1; if (sid == current_sctx.sc_sid) { ! sallvar_T *sav = find_script_var(name, 0, cctx); if (sav == NULL) return -2; *** ../vim-8.2.1846/src/version.c 2020-10-15 12:46:38.737199511 +0200 --- src/version.c 2020-10-15 13:57:15.282314971 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 1847, /**/ -- From "know your smileys": :-H Is missing teeth /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///