diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2022-08-29 15:48:56 +0200 |
commit | 58f30a326f34319801e7921f32c83e8320d85f6c (patch) | |
tree | c0afa78a82826ad837869b56dc3493b55d3b4195 /src/nvim/eval.c | |
parent | 92bc11a891538e5c306915bffef437f097572d09 (diff) | |
download | rneovim-58f30a326f34319801e7921f32c83e8320d85f6c.tar.gz rneovim-58f30a326f34319801e7921f32c83e8320d85f6c.tar.bz2 rneovim-58f30a326f34319801e7921f32c83e8320d85f6c.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index ecac7e75ae..f89b06843a 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -8162,7 +8162,7 @@ repeat: while (src[*usedlen] == ':' && src[*usedlen + 1] == 'h') { valid |= VALID_HEAD; *usedlen += 2; - s = (char *)get_past_head((char_u *)(*fnamep)); + s = get_past_head(*fnamep); while (tail > s && after_pathsep(s, tail)) { MB_PTR_BACK(*fnamep, tail); } |