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/time.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/time.c')
-rw-r--r-- | src/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time.c b/src/time.c index 4adcce59fb..dc8594a2cd 100644 --- a/src/time.c +++ b/src/time.c @@ -863,7 +863,7 @@ f_timer_start(typval_T *argvars, typval_T *rettv) return; } if (dict_has_key(dict, "repeat")) - repeat = dict_get_number(dict, (char_u *)"repeat"); + repeat = dict_get_number(dict, "repeat"); } callback = get_callback(&argvars[1]); |