aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
diff options
context:
space:
mode:
authorGeorge Zhao <zhaozg@gmail.com>2018-01-17 19:35:57 +0800
committerGeorge Zhao <zhaozg@gmail.com>2018-01-18 21:30:03 +0800
commit06994e0e21eb5545aef7c2234f5d1a271865366e (patch)
treec0880efd3f0666035804dcf8c484ec06a628cd4e /src/nvim/ex_cmds.c
parentbc17ad31dccb446fc24e0f6bb3cb2149ce951ae5 (diff)
downloadrneovim-06994e0e21eb5545aef7c2234f5d1a271865366e.tar.gz
rneovim-06994e0e21eb5545aef7c2234f5d1a271865366e.tar.bz2
rneovim-06994e0e21eb5545aef7c2234f5d1a271865366e.zip
Fix warning about conversion on mingw64
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r--src/nvim/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c
index 06379f159c..6ffd255dc7 100644
--- a/src/nvim/ex_cmds.c
+++ b/src/nvim/ex_cmds.c
@@ -1417,7 +1417,7 @@ char_u *make_filter_cmd(char_u *cmd, char_u *itmp, char_u *otmp)
#else
// For shells that don't understand braces around commands, at least allow
// the use of commands in a pipe.
- xstrlcpy(buf, cmd, len);
+ xstrlcpy(buf, (char *)cmd, len);
if (itmp != NULL) {
// If there is a pipe, we have to put the '<' in front of it.
// Don't do this when 'shellquote' is not empty, otherwise the