Patch 8.2.3504

9 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 13, 2021, 10:29:33 AM10/13/21
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages