summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-07 21:15:32 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-07 21:15:32 +0000
commitffb8ab0402ac3d60118f27df153d463a106b4028 (patch)
treef0f5125b0e75b1db60f64d18598c6634afa08ad1 /src/os_unix.c
parentd1231f991a018ed7d276a2b05fb1535378c69614 (diff)
downloadvim-git-ffb8ab0402ac3d60118f27df153d463a106b4028.tar.gz
updated for version 7.0143
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 7d324827f..491d41a2e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2059,7 +2059,7 @@ mch_get_user_name(s, len)
int len;
{
#ifdef VMS
- vim_strncpy((char *)s, cuserid(NULL), len - 1);
+ vim_strncpy(s, (char_u *)cuserid(NULL), len - 1);
return OK;
#else
return mch_get_uname(getuid(), s, len);