aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-05-09 10:29:51 +0200
committerGitHub <noreply@github.com>2022-05-09 10:29:51 +0200
commitdfeb5b47bcde7984b2b1820f0268d0d5d736f98d (patch)
tree87e129c92affece6421d4585b5d5c20996891ec5 /src/nvim/if_cscope.c
parentdbdd58e548fcf55848359b696275fd848756db7b (diff)
parente31b32a293f6ba8708499a176234f8be1df6a145 (diff)
downloadrneovim-dfeb5b47bcde7984b2b1820f0268d0d5d736f98d.tar.gz
rneovim-dfeb5b47bcde7984b2b1820f0268d0d5d736f98d.tar.bz2
rneovim-dfeb5b47bcde7984b2b1820f0268d0d5d736f98d.zip
Merge pull request #18466 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/if_cscope.c')
-rw-r--r--src/nvim/if_cscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/if_cscope.c b/src/nvim/if_cscope.c
index ea1a0efec1..d9cc643e53 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -153,7 +153,7 @@ void set_context_in_cscope_cmd(expand_T *xp, const char *arg, cmdidx_T cmdidx)
if (*arg != NUL) {
const char *p = (const char *)skiptowhite((const char_u *)arg);
if (*p != NUL) { // Past first word.
- xp->xp_pattern = (char *)skipwhite((const char_u *)p);
+ xp->xp_pattern = skipwhite(p);
if (*skiptowhite((char_u *)xp->xp_pattern) != NUL) {
xp->xp_context = EXPAND_NOTHING;
} else if (STRNICMP(arg, "add", p - arg) == 0) {