0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3504: Vim9: warning for signed vs unsigned

Problem:    Vim9: warning for signed vs unsigned.
Solution:   Add type cast.
This commit is contained in:
Bram Moolenaar
2021-10-13 15:28:28 +01:00
parent 7b82926892
commit 7f32092b91
2 changed files with 3 additions and 1 deletions

View File

@@ -9478,7 +9478,7 @@ compile_cexpr(char_u *line, exarg_T *eap, cctx_T *cctx)
int
check_global_and_subst(char_u *cmd, char_u *arg)
{
if (arg == cmd + 1 && vim_strchr(":-.", *arg) != NULL)
if (arg == cmd + 1 && vim_strchr((char_u *)":-.", *arg) != NULL)
{
semsg(_(e_separator_not_supported_str), arg);
return FAIL;