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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user