aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/diff.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 12:50:22 +0200
committerGitHub <noreply@github.com>2022-08-29 12:50:22 +0200
commit5fe6bde296569e275a0b83d497a54611f73c410a (patch)
tree51931728be1890c53597595aeec0826b12b74202 /src/nvim/diff.c
parentf05cc672e3b617b4480d8e2d7efc7e00863efc3d (diff)
parent691f4715c0cf4bc11ea2280db8777e6dd174a8ac (diff)
downloadrneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.gz
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.bz2
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.zip
Merge pull request #19961 from dundargoc/refactor/char_u/2
refactor: replace char_u with char 2: electric chaaralo
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,