diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-01-10 18:16:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-01-10 18:16:07 +0100 |
commit | 78cf3f0de90613cc8621f806444120ee3b12b507 (patch) | |
tree | a2f148aec8d721ccaf9808614642020e58421ae7 /src/os_win32.c | |
parent | a02471e2952b16c14a0ee779ba69ff4272c10192 (diff) | |
download | vim-git-78cf3f0de90613cc8621f806444120ee3b12b507.tar.gz |
updated for version 7.4.141v7.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)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index fff3f8476..4feb69791 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -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; } |