0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 9.0.0062: compiler warnings for signed/unsigned char

Problem:    Compiler warnings for signed/unsigned char.
Solution:   Add type casts. (John Marriott)
This commit is contained in:
Bram Moolenaar
2022-07-23 09:22:47 +01:00
parent 5fa9f23a63
commit 5ac50de83f
2 changed files with 4 additions and 2 deletions

View File

@@ -8549,7 +8549,7 @@ test_gui_w32_sendevent(dict_T *args)
char_u *event; char_u *event;
INPUT inputs[1]; INPUT inputs[1];
event = dict_get_string(args, "event", TRUE); event = dict_get_string(args, (char_u *)"event", TRUE);
if (event == NULL) if (event == NULL)
return FALSE; return FALSE;
@@ -8559,7 +8559,7 @@ test_gui_w32_sendevent(dict_T *args)
{ {
WORD vkCode; 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) if (vkCode <= 0 || vkCode >= 0xFF)
{ {
semsg(_(e_invalid_argument_nr), (long)vkCode); semsg(_(e_invalid_argument_nr), (long)vkCode);

View File

@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
62,
/**/ /**/
61, 61,
/**/ /**/