diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-19 21:05:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-19 21:05:03 +0100 |
commit | ed5a78e11c80c7b13b233149fd4273b71fc96262 (patch) | |
tree | c05db792f1cf6dc7707b66cbc04a5dae538979fa /src/eval.c | |
parent | 223b723be0703137cf6373e23f8ae5c02e92ef82 (diff) | |
download | vim-ed5a78e11c80c7b13b233149fd4273b71fc96262.zip |
patch 7.4.1355
Problem: Win32 console and GUI handle channels differently.
Solution: Consolidate code between Win32 console and GUI.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 86ff5855c..781cd3d0e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -14635,14 +14635,14 @@ f_job_start(typval_T *argvars UNUSED, typval_T *rettv) ga_concat(&ga, (char_u *)" "); ga_concat(&ga, (char_u *)argv[i]); } - ch_logs(NULL, "Starting job: %s", ga.ga_data); + ch_logs(NULL, "Starting job: %s", (char *)ga.ga_data); ga_clear(&ga); } # endif mch_start_job(argv, job, &options); #else # ifdef FEAT_CHANNEL - ch_logs(NULL, "Starting job: %s", cmd); + ch_logs(NULL, "Starting job: %s", (char *)cmd); # endif mch_start_job((char *)cmd, job, &options); #endif |