diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-13 00:14:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 00:14:46 +0200 |
commit | af9c1e572dc1015b7b8f2a8a09d527f54ca080d3 (patch) | |
tree | a6e3279c3e56e24812644ffed88b7990a5e52244 /src/nvim/undo.c | |
parent | e2d3e73748f8dd4a6d7acbfda2d765d1a02dcfb8 (diff) | |
parent | 85aae12a6dea48621ea2d24a946b3e7b86f9014d (diff) | |
download | rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.gz rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.tar.bz2 rneovim-af9c1e572dc1015b7b8f2a8a09d527f54ca080d3.zip |
Merge pull request #18489 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r-- | src/nvim/undo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c index 671345bb85..529eef19a3 100644 --- a/src/nvim/undo.c +++ b/src/nvim/undo.c @@ -702,7 +702,7 @@ char *u_get_undo_file_name(const char *const buf_ffname, const bool reading) const size_t ffname_len = strlen(ffname); undo_file_name = xmalloc(ffname_len + 6); memmove(undo_file_name, ffname, ffname_len + 1); - char *const tail = (char *)path_tail((char_u *)undo_file_name); + char *const tail = path_tail(undo_file_name); const size_t tail_len = strlen(tail); memmove(tail + 1, tail, tail_len + 1); *tail = '.'; |