Patch 8.2.0831
Problem:    Compiler warnings for integer sizes.
Solution:   Add type casts. (Mike Williams)
Files:      src/libvterm/src/pen.c, src/terminal.c


*** ../vim-8.2.0830/src/libvterm/src/pen.c      2020-05-22 22:06:02.165271263 
+0200
--- src/libvterm/src/pen.c      2020-05-27 21:14:30.062221356 +0200
***************
*** 47,53 ****
    vterm_color_rgb(
        col,
        ansi_colors[idx].red, ansi_colors[idx].green, ansi_colors[idx].blue);
!   col->index = idx;
    col->type = VTERM_COLOR_INDEXED;
  }
  
--- 47,53 ----
    vterm_color_rgb(
        col,
        ansi_colors[idx].red, ansi_colors[idx].green, ansi_colors[idx].blue);
!   col->index = (uint8_t)idx;
    col->type = VTERM_COLOR_INDEXED;
  }
  
***************
*** 96,102 ****
      if(argcount < 3)
        return argcount;
  
!     vterm_color_rgb(col, CSI_ARG(args[0]), CSI_ARG(args[1]), 
CSI_ARG(args[2]));
  
      return 3;
  
--- 96,102 ----
      if(argcount < 3)
        return argcount;
  
!     vterm_color_rgb(col, (uint8_t)CSI_ARG(args[0]), 
(uint8_t)CSI_ARG(args[1]), (uint8_t)CSI_ARG(args[2]));
  
      return 3;
  
*** ../vim-8.2.0830/src/terminal.c      2020-05-22 13:33:58.207383937 +0200
--- src/terminal.c      2020-05-27 21:14:30.062221356 +0200
***************
*** 4230,4236 ****
        return 1;
      }
      mch_memmove((char *)gap->ga_data + gap->ga_len, frag.str, frag.len);
!     gap->ga_len += frag.len;
      if (!frag.final)
        return 1;
  
--- 4230,4236 ----
        return 1;
      }
      mch_memmove((char *)gap->ga_data + gap->ga_len, frag.str, frag.len);
!     gap->ga_len += (int)frag.len;
      if (!frag.final)
        return 1;
  
*** ../vim-8.2.0830/src/version.c       2020-05-26 22:14:23.093012923 +0200
--- src/version.c       2020-05-27 21:14:39.386193379 +0200
***************
*** 748,749 ****
--- 748,751 ----
  {   /* Add new patch number below this line */
+ /**/
+     831,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
191. You rate eating establishments not by the quality of the food,
     but by the availability of electrical outlets for your PowerBook.

 /// 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/202005271922.04RJMoDS912640%40masaka.moolenaar.net.

Raspunde prin e-mail lui