Mercurial > vim
changeset 11071:cc22b177dfe8 v8.0.0424
patch 8.0.0424: compiler warnings on MS-Windows
commit https://github.com/vim/vim/commit/f7e894dfb60b6fd8f426aa3da1452803f8de010c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 19:49:13 2017 +0100
patch 8.0.0424: compiler warnings on MS-Windows
Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution: Add type casts.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 20:00:04 +0100 |
parents | e46530c3faba |
children | 35d25dacc361 |
files | src/os_win32.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -1918,11 +1918,11 @@ executable_exists(char *name, char_u **p if (!use_path) { - if (mch_getperm(name) != -1 && !mch_isdir(name)) + if (mch_getperm((char_u *)name) != -1 && !mch_isdir((char_u *)name)) { if (path != NULL) { - if (mch_isFullName(name)) + if (mch_isFullName((char_u *)name)) *path = vim_strsave((char_u *)name); else *path = FullName_save((char_u *)name, FALSE);