diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-23 09:52:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-23 09:52:04 +0100 |
commit | d61efa50f8f5b9d9dcbc136705cc33874f0fdcb3 (patch) | |
tree | 7ca7416ffda546d9f45ba93d3c93f3418bd6bcd0 /src/gui_w32.c | |
parent | 5ac50de83f1b4136f903c51a1d4e7d84a26c2271 (diff) |
patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063
Problem: Too many type casts for dict_get functions.
Solution: Change the key argument from "char_u *" to "char *".
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 43fef8bd43..472cebf733 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, (char_u *)"event", TRUE); + event = dict_get_string(args, "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, (char_u *)"keycode", 0); + vkCode = dict_get_number_def(args, "keycode", 0); if (vkCode <= 0 || vkCode >= 0xFF) { semsg(_(e_invalid_argument_nr), (long)vkCode); |