aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-03 11:02:04 +0200
committerGitHub <noreply@github.com>2022-05-03 11:02:04 +0200
commit8ea84eee570fd1ec560fe149e611d10034d9a223 (patch)
tree807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/runtime.c
parent46734cf7c1e5abe8e452354db6914364bfe89f0d (diff)
parentb9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (diff)
downloadrneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.gz
rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.bz2
rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.zip
Merge pull request #18345 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index 970072a53c..3f21fae995 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -826,7 +826,7 @@ static int load_pack_plugin(bool opt, char_u *fname)
// If runtime/filetype.vim wasn't loaded yet, the scripts will be
// found when it loads.
- if (opt && eval_to_number(cmd) > 0) {
+ if (opt && eval_to_number((char *)cmd) > 0) {
do_cmdline_cmd("augroup filetypedetect");
vim_snprintf((char *)pat, len, ftpat, ffname);
source_all_matches(pat);