summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-23 09:22:47 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-23 09:22:47 +0100
commit5ac50de83f1b4136f903c51a1d4e7d84a26c2271 (patch)
tree6586c9fd91363398dc84d88e7ec7b24a83cf496e /src/gui_w32.c
parent5fa9f23a63651a8abdb074b4fc2ec9b1adc6b089 (diff)
patch 9.0.0062: compiler warnings for signed/unsigned charv9.0.0062
Problem: Compiler warnings for signed/unsigned char. Solution: Add type casts. (John Marriott)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 472cebf733..43fef8bd43 100644
--- 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);