diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-20 21:56:21 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-20 21:56:21 +0000 |
commit | 84110acb60638c288b4f53aef56353c5559fc05f (patch) | |
tree | 5326dce756b4dc9ed5c089bffa18b097e6a1de21 /src | |
parent | 6a9aa37a3e3821a97f0a92ac0e4d0eec4c25cef0 (diff) | |
download | vim-84110acb60638c288b4f53aef56353c5559fc05f.zip |
updated for version 7.0111
Diffstat (limited to 'src')
-rw-r--r-- | src/os_mswin.c | 2 |
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); |