To: vim_dev@googlegroups.com Subject: Patch 9.0.0062 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///