0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

patch 8.0.0424: compiler warnings on MS-Windows

Problem:    Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution:   Add type casts.
This commit is contained in:
Bram Moolenaar 2017-03-05 19:49:13 +01:00
parent 6b64394f34
commit f7e894dfb6
2 changed files with 4 additions and 2 deletions

View File

@ -1918,11 +1918,11 @@ executable_exists(char *name, char_u **path, int use_path)
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);

View File

@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
424,
/**/
423,
/**/