changeset 509:c30adca15506

updated for version 7.0143
author vimboss
date Wed, 07 Sep 2005 21:15:32 +0000
parents c8ec93ec75dc
children b47114409935
files src/os_unix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);