aboutsummaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-03-06 23:20:29 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-13 17:18:44 -0300
commitce31410c7953a19421a2f2df2d3e6654601da930 (patch)
treed07b8af604b81c6323ba5dc405fcdd7f9397abf6 /src/memline.c
parent6fd9f090fc66c3ba38dc07ea6c982c3124735f32 (diff)
downloadrneovim-ce31410c7953a19421a2f2df2d3e6654601da930.tar.gz
rneovim-ce31410c7953a19421a2f2df2d3e6654601da930.tar.bz2
rneovim-ce31410c7953a19421a2f2df2d3e6654601da930.zip
moved mch_get_user_name() and mch_get_uname() into os/users.c
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c4
1 files changed, 2 insertions, 2 deletions
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