aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorDundar Goc <gocdundar@gmail.com>2022-05-01 11:18:17 +0200
committerDundar Goc <gocdundar@gmail.com>2022-05-03 10:33:40 +0200
commitb9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (patch)
tree807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/if_cscope.c
parent46734cf7c1e5abe8e452354db6914364bfe89f0d (diff)
downloadrneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.gz
rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.tar.bz2
rneovim-b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf.zip
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
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 2f34c8f27b..55af044658 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -429,8 +429,8 @@ static int cs_add_common(char *arg1, char *arg2, char *flags)
expand_env((char_u *)arg1, (char_u *)fname, MAXPATHL);
size_t len = STRLEN(fname);
fbuf = (char_u *)fname;
- (void)modify_fname((char_u *)":p", false, &usedlen,
- (char_u **)&fname, &fbuf, &len);
+ (void)modify_fname(":p", false, &usedlen,
+ &fname, (char **)&fbuf, &len);
if (fname == NULL) {
goto add_err;
}