Remove redundant casts

This commit is contained in:
Anton Ovchinnikov
2015-03-09 00:40:50 +01:00
parent c0a668aa26
commit 9925b3a047
26 changed files with 98 additions and 98 deletions

View File

@@ -3554,7 +3554,7 @@ void ex_helpgrep(exarg_T *eap)
// Note: We cannot just do `&NameBuff` because it is a statically sized array
// so `NameBuff == &NameBuff` according to C semantics.
char_u *buff_list[1] = {(char_u*) NameBuff};
char_u *buff_list[1] = {NameBuff};
if (gen_expand_wildcards(1, buff_list, &fcount,
&fnames, EW_FILE|EW_SILENT) == OK
&& fcount > 0) {