Merge #7863 'mingw64: fix gcc warnings'

This commit is contained in:
Justin M. Keyes
2018-01-20 17:18:32 +01:00
17 changed files with 114 additions and 62 deletions

View File

@@ -738,7 +738,7 @@ static int command_line_execute(VimState *state, int key)
}
if (vim_ispathsep(ccline.cmdbuff[s->j])
#ifdef BACKSLASH_IN_FILENAME
&& vim_strchr(" *?[{`$%#", ccline.cmdbuff[s->j + 1])
&& vim_strchr((const char_u *)" *?[{`$%#", ccline.cmdbuff[s->j + 1])
== NULL
#endif
) {