summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-20 21:56:21 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-20 21:56:21 +0000
commit84110acb60638c288b4f53aef56353c5559fc05f (patch)
tree5326dce756b4dc9ed5c089bffa18b097e6a1de21 /src/os_mswin.c
parent6a9aa37a3e3821a97f0a92ac0e4d0eec4c25cef0 (diff)
downloadvim-git-84110acb60638c288b4f53aef56353c5559fc05f.tar.gz
updated for version 7.0111
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 6bffdb90b..77affc0c3 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -492,7 +492,7 @@ vim_stat(const char *name, struct stat *stp)
char buf[_MAX_PATH + 1];
char *p;
- vim_strncpy(buf, name, _MAX_PATH);
+ vim_strncpy((char_u *)buf, (char_u *)name, _MAX_PATH);
p = buf + strlen(buf);
if (p > buf)
mb_ptr_back(buf, p);