summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2005-09-07 21:15:32 +0000
committervimboss <devnull@localhost>2005-09-07 21:15:32 +0000
commit3961eb3b11ed15635050b6b15dc05149a823bad0 (patch)
treef0f5125b0e75b1db60f64d18598c6634afa08ad1
parent5c2de26c236726fd5ab1689ae7e5b70895e432d8 (diff)
downloadvim-3961eb3b11ed15635050b6b15dc05149a823bad0.tar.gz
updated for version 7.0143
-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 7d324827..491d41a2 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);