aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-10-04 15:40:43 +0200
committerGitHub <noreply@github.com>2021-10-04 06:40:43 -0700
commit44f7b46199aebedb0ff7f8ce782b375a0e156b27 (patch)
treeffc0b6403ce358bda871d07b10b690da8e597966 /src/nvim/quickfix.c
parentb4c54ffa2216f46f9f0c456c7c53d3f6a66dad15 (diff)
downloadrneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.gz
rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.bz2
rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.zip
refactor: remove redundant char casts #15888
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index eb0ba874f4..046e6dbd12 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -1823,7 +1823,7 @@ static int qf_add_entry(qf_list_T *qfl, char_u *dir, char_u *fname, char_u *modu
if (type != 1 && !vim_isprintc(type)) { // only printable chars allowed
type = 0;
}
- qfp->qf_type = (char_u)type;
+ qfp->qf_type = type;
qfp->qf_valid = valid;
lastp = &qfl->qf_last;