diff options
| author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-04-30 16:48:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-30 16:48:00 +0200 |
| commit | 3c23100130725bb79c04e933c505bbeda96fb3bb (patch) | |
| tree | 6184115b0f11cec968966455ce1d3b2e81873f1b /src/nvim/autocmd.c | |
| parent | fcdf24d8be4abada88355538a23d771e41c77dd4 (diff) | |
| download | rneovim-3c23100130725bb79c04e933c505bbeda96fb3bb.tar.gz rneovim-3c23100130725bb79c04e933c505bbeda96fb3bb.tar.bz2 rneovim-3c23100130725bb79c04e933c505bbeda96fb3bb.zip | |
refactor: replace char_u variables and functions with char (#18288)
Work on https://github.com/neovim/neovim/issues/459
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; } |