0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.4.141

Problem:    Problems when building with Borland: st_mode is signed short;
            can't build with Python; temp files not ignored by Mercurial;
            building with DEBUG doesn't define _DEBUG.
Solution:   Fix the problems. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2014-01-10 18:16:07 +01:00
parent a02471e295
commit 78cf3f0de9
5 changed files with 18 additions and 2 deletions

View File

@@ -2960,7 +2960,7 @@ mch_getperm(char_u *name)
int n;
n = mch_stat(name, &st);
return n == 0 ? (long)st.st_mode : -1L;
return n == 0 ? (long)(unsigned short)st.st_mode : -1L;
}