summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/version.c2
-rw-r--r--src/vim9compile.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 1be4d5440..978e012fc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3504,
+/**/
3503,
/**/
3502,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 5bb0359ae..effd610ab 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -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;