diff options
Diffstat (limited to 'src/nvim/autocmd.c')
-rw-r--r-- | src/nvim/autocmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/autocmd.c b/src/nvim/autocmd.c index 8830be7355..bfeb70dce9 100644 --- a/src/nvim/autocmd.c +++ b/src/nvim/autocmd.c @@ -831,7 +831,7 @@ void do_autocmd(char_u *arg_in, int forceit) // Find the start of the commands. // Expand <sfile> in it. if (*cmd != NUL) { - cmd = expand_sfile(cmd); + cmd = (char_u *)expand_sfile((char *)cmd); if (cmd == NULL) { // some error return; } |