Patch 8.2.0254
Problem: Compiler warning for checking size_t to be negative.
Solution: Only check for zero. (Zoltan Arpadffy)
Files: src/vim9compile.c
*** ../vim-8.2.0253/src/vim9compile.c 2020-02-13 20:31:22.999790437 +0100
--- src/vim9compile.c 2020-02-13 21:41:02.111283044 +0100
***************
*** 138,144 ****
{
int idx;
! if (len <= 0)
return -1;
for (idx = 0; idx < cctx->ctx_locals.ga_len; ++idx)
{
--- 138,144 ----
{
int idx;
! if (len == 0)
return -1;
for (idx = 0; idx < cctx->ctx_locals.ga_len; ++idx)
{
***************
*** 160,166 ****
{
int idx;
! if (len <= 0)
return -1;
for (idx = 0; idx < cctx->ctx_ufunc->uf_args.ga_len; ++idx)
{
--- 160,166 ----
{
int idx;
! if (len == 0)
return -1;
for (idx = 0; idx < cctx->ctx_ufunc->uf_args.ga_len; ++idx)
{
*** ../vim-8.2.0253/src/version.c 2020-02-13 21:29:29.005939104 +0100
--- src/version.c 2020-02-13 21:41:17.867223021 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 254,
/**/
--
If bankers can count, how come they have eight windows and
only four tellers?
/// 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/202002132043.01DKh4c0021937%40masaka.moolenaar.net.