mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -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:
parent
6b64394f34
commit
f7e894dfb6
@ -1918,11 +1918,11 @@ executable_exists(char *name, char_u **path, int use_path)
|
|||||||
|
|
||||||
if (!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 (path != NULL)
|
||||||
{
|
{
|
||||||
if (mch_isFullName(name))
|
if (mch_isFullName((char_u *)name))
|
||||||
*path = vim_strsave((char_u *)name);
|
*path = vim_strsave((char_u *)name);
|
||||||
else
|
else
|
||||||
*path = FullName_save((char_u *)name, FALSE);
|
*path = FullName_save((char_u *)name, FALSE);
|
||||||
|
@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
424,
|
||||||
/**/
|
/**/
|
||||||
423,
|
423,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user