changeset 29440:8d9400c64654 v9.0.0062

patch 9.0.0062: compiler warnings for signed/unsigned char Commit: https://github.com/vim/vim/commit/5ac50de83f1b4136f903c51a1d4e7d84a26c2271 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 23 09:22:47 2022 +0100 patch 9.0.0062: compiler warnings for signed/unsigned char Problem: Compiler warnings for signed/unsigned char. Solution: Add type casts. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sat, 23 Jul 2022 10:30:02 +0200
parents 6358e9e28edd
children 2a189fa0dcd7
files src/gui_w32.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -8549,7 +8549,7 @@ test_gui_w32_sendevent(dict_T *args)
     char_u	*event;
     INPUT	inputs[1];
 
-    event = dict_get_string(args, "event", TRUE);
+    event = dict_get_string(args, (char_u *)"event", TRUE);
     if (event == NULL)
 	return FALSE;
 
@@ -8559,7 +8559,7 @@ test_gui_w32_sendevent(dict_T *args)
     {
 	WORD	    vkCode;
 
-	vkCode = dict_get_number_def(args, "keycode", 0);
+	vkCode = dict_get_number_def(args, (char_u *)"keycode", 0);
 	if (vkCode <= 0 || vkCode >= 0xFF)
 	{
 	    semsg(_(e_invalid_argument_nr), (long)vkCode);
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    62,
+/**/
     61,
 /**/
     60,