From ce31410c7953a19421a2f2df2d3e6654601da930 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Thu, 6 Mar 2014 23:20:29 +0100 Subject: moved mch_get_user_name() and mch_get_uname() into os/users.c --- src/memline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/memline.c') diff --git a/src/memline.c b/src/memline.c index 463aeb4b58..2126b4109a 100644 --- a/src/memline.c +++ b/src/memline.c @@ -1739,7 +1739,7 @@ static time_t swapfile_info(char_u *fname) time_t x = (time_t)0; char *p; #ifdef UNIX - char_u uname[B0_UNAME_SIZE]; + char uname[B0_UNAME_SIZE]; #endif /* print the swap file date */ @@ -1748,7 +1748,7 @@ static time_t swapfile_info(char_u *fname) /* print name of owner of the file */ if (mch_get_uname(st.st_uid, uname, B0_UNAME_SIZE) == OK) { MSG_PUTS(_(" owned by: ")); - msg_outtrans(uname); + msg_outtrans((char_u *)uname); MSG_PUTS(_(" dated: ")); } else #endif -- cgit