refactor: remove redundant casts 2

(cherry picked from commit 994314a86d)
This commit is contained in:
ii14
2023-04-07 21:11:01 +02:00
committed by github-actions[bot]
parent 4db8c7d570
commit 5f263789e0
30 changed files with 93 additions and 94 deletions

View File

@@ -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;
}