aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 12:50:22 +0200
committerGitHub <noreply@github.com>2022-08-29 12:50:22 +0200
commit5fe6bde296569e275a0b83d497a54611f73c410a (patch)
tree51931728be1890c53597595aeec0826b12b74202 /src/nvim/mark.c
parentf05cc672e3b617b4480d8e2d7efc7e00863efc3d (diff)
parent691f4715c0cf4bc11ea2280db8777e6dd174a8ac (diff)
downloadrneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.gz
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.bz2
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.zip
Merge pull request #19961 from dundargoc/refactor/char_u/2
refactor: replace char_u with char 2: electric chaaralo
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r--src/nvim/mark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index c4b30ae600..883371c5fb 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -674,7 +674,7 @@ static void fname2fnum(xfmark_T *fm)
)) {
int len;
- expand_env((char_u *)"~/", NameBuff, MAXPATHL);
+ expand_env((char_u *)"~/", (char_u *)NameBuff, MAXPATHL);
len = (int)STRLEN(NameBuff);
STRLCPY(NameBuff + len, fm->fname + 2, MAXPATHL - len);
} else {
@@ -683,7 +683,7 @@ static void fname2fnum(xfmark_T *fm)
// Try to shorten the file name.
os_dirname(IObuff, IOSIZE);
- p = path_shorten_fname(NameBuff, IObuff);
+ p = path_shorten_fname((char_u *)NameBuff, IObuff);
// buflist_new() will call fmarks_check_names()
(void)buflist_new((char *)NameBuff, (char *)p, (linenr_T)1, 0);