mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3504,
|
||||||
/**/
|
/**/
|
||||||
3503,
|
3503,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -9478,7 +9478,7 @@ compile_cexpr(char_u *line, exarg_T *eap, cctx_T *cctx)
|
|||||||
int
|
int
|
||||||
check_global_and_subst(char_u *cmd, char_u *arg)
|
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);
|
semsg(_(e_separator_not_supported_str), arg);
|
||||||
return FAIL;
|
return FAIL;
|
||||||
|
Reference in New Issue
Block a user