Patch 8.2.2270
Problem:    Warning for size_t to int conversion. (Randall W. Morris)
Solution:   Add a type cast.
Files:      src/vim9execute.c


*** ../vim-8.2.2269/src/vim9execute.c   2021-01-01 21:05:51.222773812 +0100
--- src/vim9execute.c   2021-01-02 12:44:04.838780632 +0100
***************
*** 1526,1532 ****
                    if (GA_GROW(&ectx.ec_stack, 1) == FAIL)
                        goto failed;
                    SOURCING_LNUM = iptr->isn_lnum;
!                   if (eval_variable(name, STRLEN(name),
                                  STACK_TV_BOT(0), NULL, TRUE, FALSE) == FAIL)
                        goto on_error;
                    ++ectx.ec_stack.ga_len;
--- 1526,1532 ----
                    if (GA_GROW(&ectx.ec_stack, 1) == FAIL)
                        goto failed;
                    SOURCING_LNUM = iptr->isn_lnum;
!                   if (eval_variable(name, (int)STRLEN(name),
                                  STACK_TV_BOT(0), NULL, TRUE, FALSE) == FAIL)
                        goto on_error;
                    ++ectx.ec_stack.ga_len;
*** ../vim-8.2.2269/src/version.c       2021-01-01 21:34:33.323754984 +0100
--- src/version.c       2021-01-02 12:45:07.218502172 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2270,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
86. E-mail Deficiency Depression (EDD) forces you to e-mail yourself.

 /// 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/202101021146.102BkjWp1802143%40masaka.moolenaar.net.

Raspunde prin e-mail lui