Patch 9.0.0062 (after 9.0.0058)
Problem:    Compiler warnings for signed/unsigned char.
Solution:   Add type casts. (John Marriott)
Files:      src/gui_w32.c


*** ../vim-9.0.0061/src/gui_w32.c       2022-07-23 05:04:07.580839529 +0100
--- src/gui_w32.c       2022-07-23 09:19:17.405333311 +0100
***************
*** 8549,8555 ****
      char_u    *event;
      INPUT     inputs[1];
  
!     event = dict_get_string(args, "event", TRUE);
      if (event == NULL)
        return FALSE;
  
--- 8549,8555 ----
      char_u    *event;
      INPUT     inputs[1];
  
!     event = dict_get_string(args, (char_u *)"event", TRUE);
      if (event == NULL)
        return FALSE;
  
***************
*** 8559,8565 ****
      {
        WORD        vkCode;
  
!       vkCode = dict_get_number_def(args, "keycode", 0);
        if (vkCode <= 0 || vkCode >= 0xFF)
        {
            semsg(_(e_invalid_argument_nr), (long)vkCode);
--- 8559,8565 ----
      {
        WORD        vkCode;
  
!       vkCode = dict_get_number_def(args, (char_u *)"keycode", 0);
        if (vkCode <= 0 || vkCode >= 0xFF)
        {
            semsg(_(e_invalid_argument_nr), (long)vkCode);
*** ../vim-9.0.0061/src/version.c       2022-07-23 09:06:23.624970753 +0100
--- src/version.c       2022-07-23 09:16:45.361266974 +0100
***************
*** 737,738 ****
--- 737,740 ----
  {   /* Add new patch number below this line */
+ /**/
+     62,
  /**/

-- 
To be rich is not the end, but only a change of worries.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220723082414.ED9211C091B%40moolenaar.net.

Raspunde prin e-mail lui