aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/if_cscope.c
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-04-24 20:13:23 -0600
committerGitHub <noreply@github.com>2022-04-24 20:13:23 -0600
commitcf2d77763f93407db4669b20ef15c708e0e807d7 (patch)
treedf56d70703e47defa2f9b977188faed5360dc06d /src/nvim/if_cscope.c
parentc58219413514caf035ac52eb85b84b1ff31d4722 (diff)
parent88270a57358e4009537de9435c19fcb17e66ffdd (diff)
downloadrneovim-cf2d77763f93407db4669b20ef15c708e0e807d7.tar.gz
rneovim-cf2d77763f93407db4669b20ef15c708e0e807d7.tar.bz2
rneovim-cf2d77763f93407db4669b20ef15c708e0e807d7.zip
Merge pull request #18110 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 9ca01137cf..093ca238f1 100644
--- a/src/nvim/if_cscope.c
+++ b/src/nvim/if_cscope.c
@@ -433,7 +433,7 @@ static int cs_add_common(char *arg1, char *arg2, char *flags)
if (fname == NULL) {
goto add_err;
}
- fname = (char *)vim_strnsave((char_u *)fname, len);
+ fname = xstrnsave(fname, len);
xfree(fbuf);
FileInfo file_info;
bool file_info_ok = os_fileinfo(fname, &file_info);