To: vim_dev@googlegroups.com Subject: Patch 8.2.3504 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3504 (after 8.2.3503) Problem: Vim9: warning for signed vs unsigned. Solution: Add type cast. Files: src/vim9compile.c *** ../vim-8.2.3503/src/vim9compile.c 2021-10-13 15:04:28.863631800 +0100 --- src/vim9compile.c 2021-10-13 15:24:00.088066971 +0100 *************** *** 9478,9484 **** int check_global_and_subst(char_u *cmd, char_u *arg) { ! if (arg == cmd + 1 && vim_strchr(":-.", *arg) != NULL) { semsg(_(e_separator_not_supported_str), arg); return FAIL; --- 9478,9484 ---- int check_global_and_subst(char_u *cmd, char_u *arg) { ! if (arg == cmd + 1 && vim_strchr((char_u *)":-.", *arg) != NULL) { semsg(_(e_separator_not_supported_str), arg); return FAIL; *** ../vim-8.2.3503/src/version.c 2021-10-13 15:04:28.863631800 +0100 --- src/version.c 2021-10-13 15:28:12.507442645 +0100 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3504, /**/ -- hundred-and-one symptoms of being an internet addict: 143. You dream in pallettes of 216 websafe colors. /// 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 ///