Patch 9.0.0298
Problem:    Compiler warning for size_t to int conversion.
Solution:   Add a type cast. (Wilhelm Payne, closes #11000)
Files:      src/message.c


*** ../vim-9.0.0297/src/message.c       2022-08-28 14:39:34.355253105 +0100
--- src/message.c       2022-08-28 17:06:41.893993785 +0100
***************
*** 2285,2291 ****
      redraw_win_later(wp, UPD_NOT_VALID);
  
      // set msg_col so that a newline is written if needed
!     msg_col = STRLEN(t_s);
  }
  #endif
  
--- 2285,2291 ----
      redraw_win_later(wp, UPD_NOT_VALID);
  
      // set msg_col so that a newline is written if needed
!     msg_col = (int)STRLEN(t_s);
  }
  #endif
  
*** ../vim-9.0.0297/src/version.c       2022-08-28 16:38:57.408641746 +0100
--- src/version.c       2022-08-28 17:07:59.985929387 +0100
***************
*** 709,710 ****
--- 709,712 ----
  {   /* Add new patch number below this line */
+ /**/
+     298,
  /**/

-- 
TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT
                      SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE
                      KILLED BY THE RABBIT)
                 "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/ ///
 \\\            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/20220828161050.F271A1C07CD%40moolenaar.net.

Raspunde prin e-mail lui