Patch 8.2.2845
Problem:    MS-Windows: warning for signed/unsigned comparison.
Solution:   Add type cast.
Files:      src/terminal.c


*** ../vim-8.2.2844/src/terminal.c      2021-05-03 20:40:35.263818664 +0200
--- src/terminal.c      2021-05-08 20:08:36.008525234 +0200
***************
*** 4341,4353 ****
      char_u    *new_dir;
  
      // remove HOSTNAME to get PWD
!     while (*pos != '/' && offset < frag->len)
      {
          offset += 1;
          pos += 1;
      }
  
!     if (offset >= frag->len)
      {
          semsg(_(e_failed_to_extract_pwd_from_str_check_your_shell_config),
                                                                    frag->str);
--- 4341,4353 ----
      char_u    *new_dir;
  
      // remove HOSTNAME to get PWD
!     while (*pos != '/' && offset < (int)frag->len)
      {
          offset += 1;
          pos += 1;
      }
  
!     if (offset >= (int)frag->len)
      {
          semsg(_(e_failed_to_extract_pwd_from_str_check_your_shell_config),
                                                                    frag->str);
*** ../vim-8.2.2844/src/version.c       2021-05-07 20:43:51.023580140 +0200
--- src/version.c       2021-05-08 20:09:07.724386216 +0200
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2845,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
251. You've never seen your closest friends who usually live WAY too far away.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/202105081810.148IA08p1694263%40masaka.moolenaar.net.

Raspunde prin e-mail lui