aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-08-26 23:11:25 +0200
committerDundar Göc <gocdundar@gmail.com>2022-08-27 17:59:43 +0200
commit691f4715c0cf4bc11ea2280db8777e6dd174a8ac (patch)
tree5fbd18d7d350d0df98cae0f620bafc2fd94006e7 /src/nvim/diff.c
parent09c6ce8c4e4c6415cca9b834539ed0df461373f6 (diff)
downloadrneovim-691f4715c0cf4bc11ea2280db8777e6dd174a8ac.tar.gz
rneovim-691f4715c0cf4bc11ea2280db8777e6dd174a8ac.tar.bz2
rneovim-691f4715c0cf4bc11ea2280db8777e6dd174a8ac.zip
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r--src/nvim/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c
index 8107b64c83..23fdc728f3 100644
--- a/src/nvim/diff.c
+++ b/src/nvim/diff.c
@@ -1148,7 +1148,7 @@ static int diff_file(diffio_T *dio)
(diff_flags & DIFF_IBLANK) ? "-B " : "",
(diff_flags & DIFF_ICASE) ? "-i " : "",
tmp_orig, tmp_new);
- append_redir(cmd, len, (char *)p_srr, tmp_diff);
+ append_redir(cmd, len, p_srr, tmp_diff);
block_autocmds(); // Avoid ShellCmdPost stuff
(void)call_shell((char_u *)cmd,
kShellOptFilter | kShellOptSilent | kShellOptDoOut,