summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-03-06 22:00:11 +0100
committerBram Moolenaar <Bram@vim.org>2015-03-06 22:00:11 +0100
commitab11a5914b04228249d429cbc2dd6c56ae6c8232 (patch)
treece4347b7e60ed0595266018919bb28c6f7474dd6
parentd8b77f7dc04e5721989df9c505b8568194261a39 (diff)
downloadvim-git-ab11a5914b04228249d429cbc2dd6c56ae6c8232.tar.gz
updated for version 7.4.657v7.4.657
Problem: Compiler warnings for pointer mismatch. Solution: Add a typecast. (John Marriott)
-rw-r--r--src/misc1.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 4ff89ad0c..ac87ef8fc 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -10175,7 +10175,7 @@ unix_expandpath(gap, path, wildoff, flags, didstar)
if (*path_end != NUL)
backslash_halve(buf + len + 1);
/* add existing file or symbolic link */
- if ((flags & EW_ALLLINKS) ? mch_lstat(buf, &sb) >= 0
+ if ((flags & EW_ALLLINKS) ? mch_lstat((char *)buf, &sb) >= 0
: mch_getperm(buf) >= 0)
{
#ifdef MACOS_CONVERT
@@ -10937,7 +10937,7 @@ addfile(gap, f, flags)
/* if the file/dir/link doesn't exist, may not add it */
if (!(flags & EW_NOTFOUND) && ((flags & EW_ALLLINKS)
- ? mch_lstat(f, &sb) < 0 : mch_getperm(f) < 0))
+ ? mch_lstat((char *)f, &sb) < 0 : mch_getperm(f) < 0))
return;
#ifdef FNAME_ILLEGAL
diff --git a/src/version.c b/src/version.c
index 7a3579a6e..0e39cfbf1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 657,
+/**/
656,
/**/
655,