Patch 8.2.1532
Problem:    Compiler warning for conversion of size_t to long.
Solution:   Add type cast.
Files:      src/eval.c


*** ../vim-8.2.1531/src/eval.c  2020-08-25 22:37:44.574877893 +0200
--- src/eval.c  2020-08-27 23:41:04.683652652 +0200
***************
*** 5392,5398 ****
      if (start_byte < 0)
        start_byte = 0; // first index very negative: use zero
      if (last == -1)
!       end_byte = slen;
      else
      {
        end_byte = char_idx2byte(str, slen, last);
--- 5392,5398 ----
      if (start_byte < 0)
        start_byte = 0; // first index very negative: use zero
      if (last == -1)
!       end_byte = (long)slen;
      else
      {
        end_byte = char_idx2byte(str, slen, last);
*** ../vim-8.2.1531/src/version.c       2020-08-27 23:57:50.272069276 +0200
--- src/version.c       2020-08-28 16:37:57.518386934 +0200
***************
*** 756,757 ****
--- 756,759 ----
  {   /* Add new patch number below this line */
+ /**/
+     1532,
  /**/

-- 
ZOOT:  I'm afraid our life must seem very dull and quiet compared to yours.
       We are but eightscore young blondes, all between sixteen and
       nineteen-and-a-half, cut off in this castle, with no one to protect us.
       Oooh.  It is a lonely life ... bathing ...  dressing ... undressing ...
       making exciting underwear....
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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/202008281438.07SEciI52251923%40masaka.moolenaar.net.

Raspunde prin e-mail lui