aboutsummaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
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