aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-26 23:07:56 +0200
committerGitHub <noreply@github.com>2022-08-26 23:07:56 +0200
commitb0e052a8b30ce84221c3f992e111713451633b36 (patch)
tree27caaef2e0b8351eb5637d1a969229663ec2c4a8 /src/nvim/if_cscope.c
parent6a13b8fa5460da5aa22a1c366e5252c26ed5fe1e (diff)
parent395277036014189c03b8969fc0a5cd2bdc5c8631 (diff)
downloadrneovim-b0e052a8b30ce84221c3f992e111713451633b36.tar.gz
rneovim-b0e052a8b30ce84221c3f992e111713451633b36.tar.bz2
rneovim-b0e052a8b30ce84221c3f992e111713451633b36.zip
Merge pull request #19957 from dundargoc/refactor/char_u/1
refactor: replace char_u with char
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index e32b58fbcb..50ec444d51 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -757,7 +757,7 @@ err_closing:
#endif
// expand the cscope exec for env var's
prog = xmalloc(MAXPATHL + 1);
- expand_env(p_csprg, (char_u *)prog, MAXPATHL);
+ expand_env((char_u *)p_csprg, (char_u *)prog, MAXPATHL);
// alloc space to hold the cscope command
size_t len = strlen(prog) + strlen(csinfo[i].fname) + 32;
@@ -953,7 +953,7 @@ static bool cs_find_common(char *opt, char *pat, int forceit, int verbose, bool
cmdletter = opt[0];
}
- qfpos = vim_strchr((char *)p_csqf, cmdletter);
+ qfpos = vim_strchr(p_csqf, cmdletter);
if (qfpos != NULL) {
qfpos++;
// next symbol must be + or -