diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-04-07 21:43:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 21:43:00 +0200 |
commit | 2d78e656b715119ca11d131a1a932f22f1b4ad36 (patch) | |
tree | 2cb91a5838a33174019389c2e8e5e537a04ad914 /src/nvim/buffer.c | |
parent | 04933b1ea968f958d2541dd65fd33ebb503caac3 (diff) | |
download | rneovim-2d78e656b715119ca11d131a1a932f22f1b4ad36.tar.gz rneovim-2d78e656b715119ca11d131a1a932f22f1b4ad36.tar.bz2 rneovim-2d78e656b715119ca11d131a1a932f22f1b4ad36.zip |
refactor: remove redundant casts
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index d8282734d4..d1c93733c0 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -2231,7 +2231,7 @@ int buflist_findpat(const char *pattern, const char *pattern_end, bool unlisted, // Repeat this for finding an unlisted buffer if there was no matching // listed buffer. - pat = file_pat_to_reg_pat((char *)pattern, (char *)pattern_end, NULL, false); + pat = file_pat_to_reg_pat(pattern, pattern_end, NULL, false); if (pat == NULL) { return -1; } |