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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202010151158.09FBwOr5053478%40masaka.moolenaar.net.