aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-04-30 16:48:00 +0200
committerGitHub <noreply@github.com>2022-04-30 16:48:00 +0200
commit3c23100130725bb79c04e933c505bbeda96fb3bb (patch)
tree6184115b0f11cec968966455ce1d3b2e81873f1b /src/nvim/main.c
parentfcdf24d8be4abada88355538a23d771e41c77dd4 (diff)
downloadrneovim-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/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index c0b565fff7..480b5ab0b5 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1376,7 +1376,7 @@ scripterror:
int alist_fnum_flag = edit_stdin(had_stdin_file, parmp)
? 1 // add buffer nr after exp.
: 2; // add buffer number now and use curbuf
- alist_add(&global_alist, p, alist_fnum_flag);
+ alist_add(&global_alist, (char *)p, alist_fnum_flag);
}
// If there are no more letters after the current "-", go to next argument.