From 9925b3a0477e5af348a8348544e69a65a9222c1b Mon Sep 17 00:00:00 2001 From: Anton Ovchinnikov Date: Mon, 9 Mar 2015 00:40:50 +0100 Subject: Remove redundant casts --- src/nvim/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/quickfix.c') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index b025d3a5e1..39117b262a 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -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) { -- cgit