os_can_exe: remove char_u

This commit is contained in:
Justin M. Keyes
2019-07-21 16:44:15 +02:00
parent b08dc3ec19
commit 1fde79eedf
4 changed files with 26 additions and 26 deletions

View File

@@ -535,7 +535,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
// Skip files that are not executable if we check for that.
if (!dir && (flags & EW_EXEC)
&& !os_can_exe((*file)[i], NULL, !(flags & EW_SHELLCMD))) {
&& !os_can_exe((char *)(*file)[i], NULL, !(flags & EW_SHELLCMD))) {
continue;
}