aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.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/misc2.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/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c
index dd3c7363da..d97393e699 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1886,7 +1886,7 @@ int vim_chdir(char_u *new_dir)
int get_user_name(char_u *buf, int len)
{
if (username == NULL) {
- if (mch_get_user_name(buf, len) == FAIL)
+ if (mch_get_user_name((char *)buf, len) == FAIL)
return FAIL;
username = vim_strsave(buf);
} else