diff options
Diffstat (limited to 'src/nvim/buffer.c')
| -rw-r--r-- | src/nvim/buffer.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index eadee8465f..094e80086c 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3569,7 +3569,7 @@ void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname)      return;    if (*sfname == NULL)          /* if no short file name given, use ffname */      *sfname = *ffname; -  *ffname = fix_fname(*ffname);     /* expand to full path */ +  *ffname = (char_u *)fix_fname((char *)*ffname);     /* expand to full path */  #ifdef FEAT_SHORTCUT    if (!buf->b_p_bin) { | 
