diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-04 15:40:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 06:40:43 -0700 |
commit | 44f7b46199aebedb0ff7f8ce782b375a0e156b27 (patch) | |
tree | ffc0b6403ce358bda871d07b10b690da8e597966 /src/nvim/diff.c | |
parent | b4c54ffa2216f46f9f0c456c7c53d3f6a66dad15 (diff) | |
download | rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.gz rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.tar.bz2 rneovim-44f7b46199aebedb0ff7f8ce782b375a0e156b27.zip |
refactor: remove redundant char casts #15888
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r-- | src/nvim/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c index 5c43b2498e..3a7bd21c70 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -1110,7 +1110,7 @@ static int diff_file(diffio_T *dio) // Build the diff command and execute it. Always use -a, binary // differences are of no use. Ignore errors, diff returns // non-zero when differences have been found. - vim_snprintf((char *)cmd, len, "diff %s%s%s%s%s%s%s%s %s", + vim_snprintf(cmd, len, "diff %s%s%s%s%s%s%s%s %s", diff_a_works == kFalse ? "" : "-a ", "", (diff_flags & DIFF_IWHITE) ? "-b " : "", |